/*
Theme Name: Preston Alliance Group
Theme URI: https://prestonalliance.com/
Author: Bespora Digital Services
Author URI: https://bespora.com/
Description: A professional WordPress theme designed for Preston Alliance Group — federal grant consulting. Features GSAP animations, a custom intro loader, and a responsive page builder.
Version: 9.3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: prestonalliance-group
*/

/* Reset & Global Styles */
*, ::before, ::after {
    box-sizing: border-box;
    border-color: rgba(255, 255, 255, 0.1);
}

body {
    background-color: #560f22;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Custom Utilities */
.bg-obsidian {
    background-color: #1a1d20;
}

/* GSAP Intro Loader Styles */
#intro-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a1d20;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Elementor Compatibility Layer */
.elementor-page .entry-content {
    max-width: 100% !important;
    padding: 0 !important;
}

/* Custom Scroll Mask Classes (ARCCA Style) */
.arcca-split-word-wrapper {
    overflow: hidden;
    display: inline-block;
    vertical-align: top;
    margin-right: 0.25em; /* Spacing between words */
}

.arcca-split-word {
    display: inline-block;
    transform: translateY(110%);
    opacity: 0;
}

/* Header Sliding Underline Effect */
.nav-link-effect {
    position: relative;
    padding-bottom: 4px;
}
.nav-link-effect::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.nav-link-effect:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Prevent flash of unstyled content before GSAP initializes */
.gsap-reveal-hero, 
.gsap-scroll-title, 
.gsap-scroll-text, 
.gsap-scroll-card, 
.gsap-scroll-image {
    opacity: 0;
    visibility: hidden;
}
