/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.angled-overlay {
  position: relative;
  overflow: hidden; /* Ensures the overlay stays clipped */
}
.text-list-widget ul {
  padding-left: 27px !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.video_popup_img_widget {
  position: relative;
}
.video_popup_img_widget::before {
  content: "";
  position: absolute;
  cursor: pointer;
  opacity: 0.5;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 94px; /* smaller size */
  height: 94px;
  background: rgba(0, 161, 154, 0.8)
    url("/wp-content/uploads/2025/09/play-button-arrowhead.png") no-repeat
    center;
  background-size: 50% 50%; /* icon scaled inside */
  border-radius: 50%; /* perfect circle */
}
.video_popup_img_widget:hover::before {
  opacity: 1;
}
@media (max-width: 768px) {
  .video_popup_img_widget::before {
    width: 50px; /* smaller size */
    height: 50px;
  }
}

.angled-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none; /* Overlay won’t block clicks */
  width: 55svw;
  height: 101%;
  background-image: linear-gradient(#1013184d, #101318e6);
  -webkit-clip-path: polygon(0 0, 40vw 0, 100% 100%, 0% 100%);
  clip-path: polygon(0 0, 40vw 0, 100% 100%, 0% 100%);
  z-index: 1; /* Keeps overlay on top */
}
@media (max-width: 768px) {
  .angled-overlay::before {
    -webkit-clip-path: polygon(0 10%, 100% 30%, 100% 100%, 0% 100%);
    clip-path: polygon(0 10%, 100% 30%, 100% 100%, 0% 100%);
    background-image: linear-gradient(#10131880, #101318e6 84%);
    width: 100svw;
  }
}

.footer-logo-hover:hover .footer-logo-hover-icon .elementor-icon svg path {
  fill: #56d3cc !important;
}
.footer-logo-hover:hover .footer-logo-hover-text p {
  color: #56d3cc !important;
}

/* Shortcode: [oil_and_gas] */
.tabview_wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.tabview_heading .tabview_heading_text {
  font-weight: 600 !important;
  color: #56d3cc;
}
.tabview_heading {
  font-size: 64px;
  font-weight: 600;
  line-height: 74px;
  color: #fff;
  font-family: "Source Sans 3";
  text-align: center;
  max-width: 790px;
  margin: 0 auto;
  width: 100%;
}
.tabview_wrapper {
  width: 100%;
}
.tabview_left .tabview_img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: normal;
  z-index: 1;
}
.tabview_left_content {
  z-index: 2;
  padding: 24px;
  border-radius: 8px;
  display: flex;
  gap: 44px;
  background-color: #272a2f;
  max-width: 460px;
  min-height: 180px;
  inset: 49% auto auto 25%;
  box-shadow: 2px 2px 6px #00000029;
}
.tabview_left_content_left {
  display: flex;
  flex-direction: column;
  width: 128px;
}
.tabview_title {
  font-size: 24px;
  margin: 0;
  font-weight: 500;
  line-height: 36px;
  color: #fff;
  font-family: "Source Sans 3";
}
.tabview_role {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #b7b8b9;
  font-family: "Source Sans 3";
  text-transform: uppercase;
}
.tabview_left_content_right {
  flex: 1;
}
.tabview_description {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #b7b8b9;
  font-family: "Source Sans 3";
}
.tabview_list_heading {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #fff;
  font-family: "Source Sans 3";
}
.tabview_list li {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  color: #b7b8b9;
  font-family: "Source Sans 3";
}
.tabview_list {
  display: flex;
  flex-direction: column;
  padding-left: 27px;
  gap: 4px;
}
.tabview_left {
  height: 430px;
  width: 1010px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.tabview_right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tabview_content {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateY(20px);
}
.tabview_active_content {
  display: flex;
  opacity: 1 !important;
  transform: translateY(0) !important;
  flex: 1;
  gap: 20px;
}
.tabview_buttons {
  gap: 20px;
  display: grid;
  flex-wrap: wrap;
  grid-template-rows: auto;
  grid-auto-columns: minmax(0, 1fr);
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.tabview_button:hover {
  border-bottom: 1px solid #272a2f;
  background: none;
}
.tabview_button {
  cursor: pointer;
  padding: 8px 0px;
  flex: 1;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid transparent;
  background: none;
  border-radius: 0;
  outline: none;
  margin-bottom: 8px;
  text-align: left;

  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  font-family: "Source Sans 3";
}
.tabview_button.tabview_active {
  border-bottom: 1px solid #56d3cc;
  background: none;
}
@media (max-width: 1024px) {
  .tabview_active_content {
    flex-direction: column;
  }
  .tabview_left {
    width: 100%;
  }
}

/* popup functionality  */
/* Hide popups initially */
.click_open_popup {
  display: none;
  transition: all 0.4s ease;
}

/* Rotate the SVG when active */
.click_open_button.active svg path {
  fill: #56d3cc;
}
.click_open_button.active svg {
  transform: rotate(135deg);
  transition: transform 0.4s ease;
}
.click_open_popup {
  position: absolute;
  top: 100%;
  right: 50%;
  z-index: 999;
}
.click_open_section {
  position: relative;
}
@media (max-width: 768px) {
  .click_open_popup {
    transform: translateX(60%);
    width: 80vw !important;
  }
}

/* Hide by default */
.big_section_popup {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease-in-out;
}

/* When active (open) */
.big_section_popup.active {
  max-height: 2000px; /* large enough to fit full content */
}
.big_button_open {
  cursor: pointer;
}

/* Hide tooltip sections by default */
.tooltip-icon-section {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Show the section when its button is hovered */
.tooltip-icon-button:hover + .tooltip-icon-section {
  display: block;
  opacity: 1;
}
.tooltip-icon-section {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 110%;
  max-width: 304px !important;
  z-index: 99;
}
@media (max-width: 768px) {
  .tooltip-icon-section {
    max-width: 40vw !important;
    padding: 10px !important;
  }
}

/* Shortcode: [tab_view_repeater] */
.unique_tabview_wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
  justify-content: center;
}
.unique_tabview_buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
}
.unique_tabview_btn:hover {
  border-bottom: 1px solid #272a2f;
  background: none;
}
.unique_tabview_btn {
  cursor: pointer;
  padding: 8px 0px;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid transparent;
  background: none;
  border-radius: 0;
  outline: none;
  margin-bottom: 8px;
  text-align: left;
  color: #b7b8b9;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  font-family: "Source Sans 3";
}
.unique_tabview_btn.active {
  border-bottom: 1px solid #56d3cc;
  background: none;
  color: #fff;
}

.unique_tabview_content {
  position: relative;
}
.unique_tabview_panel {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.unique_tabview_panel.active {
  display: block;
  opacity: 1;
}

.unique_tabview_row {
  display: flex;
  gap: 20px;
}
.unique_tabview_col {
  flex: 1;
}
.unique_tabview_count b {
  font-weight: 600;
  color: #fff;
}
.unique_tabview_count {
  font-size: 36px;
  font-weight: 600;
  line-height: 44px;
  font-family: "Source Sans 3";
  text-align: center;
  color: #87898b;
}
.unique_tabview_image {
  margin-top: 40px;
  min-height: 434px;
  display: flex;
}
.unique_tabview_image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.unique_tabview_col_center {
  flex: 1;
}
.unique_tabview_col h3 {
  font-size: 36px;
  font-weight: 600;
  line-height: 44px;
  font-family: "Source Sans 3";
  color: #fff;
  margin: 0;
}
.unique_tabview_col p {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  font-family: "Source Sans 3";
  color: #b7b8b9;
  margin: 0;
}
.unique_tabview_col {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  gap: 24px;
  flex: 1;
  padding: 64px 40px 0px;
}
.unique_tabview_learnmore:hover {
  background: #56d3cc;
  color: #101318 !important;
  text-decoration: none !important;
}
.unique_tabview_learnmore {
  text-decoration: none !important;

  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  font-family: "Source Sans 3";
  color: #56d3cc;
  display: flex;
  width: fit-content;

  border: 1px solid #56d3cc;
  background: none;
  border-radius: 4px;
  padding: 8px 16px;
}
.unique_tabview_count.mobile {
  display: none;
}
@media (max-width: 768px) {
  .unique_tabview_row {
    flex-direction: column;
    gap: 24px;
  }
  .unique_tabview_buttons {
    flex-direction: column;
  }
  .unique_tabview_btn {
    flex: 1;
    margin-bottom: 0;
  }
  .unique_tabview_wrapper {
    gap: 32px;
  }
  .unique_tabview_col {
    margin-top: 0;
    padding: 0 32px;
  }
  .unique_tabview_count {
    display: none;
  }
  .unique_tabview_count.mobile {
    display: block;
    font-size: 28px;
    line-height: 36px;
    margin-bottom: 40px;
  }
  .unique_tabview_col h3 {
    font-size: 28px;
    line-height: 36px;
  }
}

/* Shortcode to display video section */
/* Grid */
.video_section_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 20px;
}

/* Video Items */
.video_section_item {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.video_section_thumb_wrap {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.video_section_thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video_section_play_icon_wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 161, 154, 0.8);
  border-radius: 50%;
  padding: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.video_section_thumb_wrap:hover .video_section_play_icon_wrapper {
  opacity: 1;
}

.video_section_play_icon {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.video_section_title {
  margin-top: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  font-family: "Source Sans 3";
}

/* Popup */
.video_section_popup_overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.video_section_popup_play_icon_wrapper img {
  width: 54px !important;
}

.video_section_popup_overlay.fadeIn {
  animation: fadeIn 0.3s forwards;
}

.video_section_popup_overlay.fadeOut {
  animation: fadeOut 0.3s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.video_section_popup {
  max-width: 900px;
  width: 100%;
  max-height: 80%;
  border-radius: 8px;
  overflow: hidden;
}

.video_section_popup_content {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
}

.video_section_popup_thumb,
.video_section_popup_video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video_section_popup_video {
  display: none;
}

.video_section_popup_loader {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 18px;
}

.video_section_popup_play_icon_wrapper.video_section_popup_play_icon_wrapper {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  padding: 35px !important;
}

.video_section_popup_play_icon_wrapper:hover {
  opacity: 1 !important;
}

.video_section_popup_close:hover {
  background: none;
}

.video_section_popup_close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 28px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .video_section_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .video_section_popup {
    max-width: 100%;
    max-height: 70%;
  }

  .video_section_popup_content {
    padding-bottom: 56.25%;
  }

  .video_section_grid {
    grid-template-columns: 1fr;
  }
}

/* Shortcode: [video_tabview] */
.video_tabview_wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.video_tabview_buttons {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  /* allow horizontal scrolling */
  overflow-y: hidden;
  gap: 24px;
  justify-content: flex-start;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE & Edge */
}

.video_tabview_buttons::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

.video_tabview_btn:hover {
  background: none;
  border-bottom: 1px solid #272a2f;
}

.video_tabview_btn {
  cursor: pointer;
  padding: 8px 0px;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid transparent;
  background: none;
  border-radius: 0;
  outline: none;
  text-align: left;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  font-family: "Source Sans 3";
}

.video_tabview_btn.active {
  background: none;
  border-bottom: 1px solid #56d3cc;
}

.video_tabview_content {
  position: relative;
  display: flex;
  overflow: hidden;
  border-radius: 12px;
}

.video_tabview_item {
  display: none;
  text-align: center;
  animation: fadeIn 0.4s ease;
}

.video_tabview_item.active {
  display: block;
}

.video_tabview_thumbwrap {
  position: relative;
  display: inline-block;
  cursor: pointer;
  height: 640px;
}

.video_tabview_thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.video_tabview_thumbwrap:hover .video_tabview_playicon {
  opacity: 1;
}

.video_tabview_playicon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.5;
  height: 185px;
  width: 185px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 161, 154, 0.8);
}

.video_tabview_playicon img {
  width: 90px;
  height: 90px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .video_tabview_thumbwrap {
    height: 400px;
  }
}
@media (max-width: 768px) {
  .video_tabview_buttons {
    flex-direction: column;
    gap: 12px;
  }

  .video_tabview_wrapper {
    gap: 32px;
  }

  .video_tabview_thumbwrap {
    height: 200px;
  }

  .video_tabview_playicon {
    height: 42px;
    width: 42px;
  }

  .video_tabview_playicon img {
    width: 20px;
    height: 20px;
  }
}
