/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
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: 2.0.0
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 */
body {
    background-color: #0a0a0b;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Remove default focus outline and replace with a clean one */
*:focus {
    outline: 2px solid #C8FF57;
    outline-offset: 3px;
}

/* Selection highlight color */
::selection {
    background: #C8FF57;
    color: #0a0a0b;
}

.elementor-widget-container {
    border-radius: 8px;
}

#jg-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0b;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#jg-preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.jg-preloader-inner {
    display: flex;
    align-items: center;
    gap: 4px;
    animation: jg-pulse 1.2s ease-in-out infinite;
}

.jg-bracket {
    font-size: 48px;
    font-weight: 700;
    color: #C8FF57;
    font-family: Georgia, serif;
    line-height: 1;
}

.jg-initials {
    font-size: 32px;
    font-weight: 700;
    color: #e8e6e0;
    font-family: Arial, sans-serif;
    letter-spacing: 2px;
}

@keyframes jg-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.95); }
}

/* Card hover effects */
.custom-section-card {
    transition: transform 0.3s ease, border-color 0.3s ease !important;
    cursor: default;
}

.custom-section-card:hover {
    transform: translateY(-4px) !important;
    border-color: #C8FF57 !important;
}

/* Button hover */
.elementor-button {
    transition: all 0.3s ease !important;
}

/* Nav link hover */
.elementor-nav-menu a {
    transition: color 0.2s ease !important;
}

/* Image hover */
.elementor-widget-image img {
    transition: transform 0.4s ease !important;
}

.elementor-widget-image:hover img {
    transform: scale(1.03) !important;
}

/* Section fade in on scroll */
.elementor-section,
.e-container,
.e-con {
    transition: opacity 0.5s ease !important;
}

/* Badge styles */
.badge-semrush {
    background: #FF642D;
    color: #fff;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 500;
    display: inline-block;
}

.badge-hubspot {
    background: #FF7A59;
    color: #fff;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 500;
    display: inline-block;
}

.badge-pinoy {
    background: #0038A8;
    color: #fff;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 500;
    display: inline-block;
}

/*
 * Reusable mobile card slider
 *
 * Parent: mobile-card-slider
 * Cards:  mobile-slide
 *
 * Optional parent class:
 * mobile-card-slider--compact
 */

@media (max-width: 767px) {
  .mobile-card-slider {
    /* Default: one large card and a preview of the next */
    --mobile-card-width: 85%;
    --mobile-card-gap: 16px;

    --flex-direction: row;
    --flex-wrap: nowrap;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: var(--mobile-card-gap);

    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;

    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;

    padding-block: 4px 12px;
    padding-inline: 0;
    scrollbar-width: none;
  }

  /* Compact cards: two visible, plus part of the third */
  .mobile-card-slider.mobile-card-slider--compact {
    --mobile-card-width: 43%;
    --mobile-card-gap: 12px;
  }

  .mobile-card-slider::-webkit-scrollbar {
    display: none;
  }

  .mobile-card-slider > .mobile-slide {
    --width: var(--mobile-card-width);

    box-sizing: border-box;
    flex: 0 0 var(--mobile-card-width);
    width: var(--mobile-card-width);
    min-width: 0;
    max-width: none;
    margin-inline: 0;

    scroll-snap-align: start;
  }

  .mobile-card-slider:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
  }
}