/*
Theme Name: Intellectualead Clean Theme
Description: A clean, minimal theme designed to work correctly with the Intellectualead landing page built in Elementor.
Version: 4.0
Author: Your Name
*/

/* Theme styles wrapped in a cascade layer so we can protect builder header/footer */
@layer iltheme {


/* --- FIX: Account for the WordPress Admin Bar --- */
.admin-bar #header {
    top: 32px;
}
@media screen and (max-width: 782px) {
    .admin-bar #header {
        top: 46px;
    }
}

/* --- Hide the default page title on our landing page template --- */
.landing-page-template .entry-title,
.landing-page-template .elementor-heading-title {
    display: none !important;
}

/* --- Core Styles from Original Design --- */
body {
    font-family: 'Inter', sans-serif !important;
    background-color: #F9FAFB;
    color: #1F2937;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6, p, a, div, span, li, button, input, textarea {
    font-family: 'Inter', sans-serif !important;
    line-height: 1.5; /* A sensible default line-height */
}
h1, .font-extrabold { font-weight: 800; }
h2, .font-bold { font-weight: 700; }
h3, .font-semibold { font-weight: 600; }

.brand-blue { color: #0EA5E9; }
.bg-brand-blue { background-color: #0EA5E9; }
.border-brand-blue { border-color: #0EA5E9; }
.hover\:bg-brand-blue-dark:hover { background-color: #0284C7; }
.ring-brand-blue { --tw-ring-color: #0EA5E9; }

.glow-effect { box-shadow: 0 10px 25px rgba(14, 165, 233, 0.08), 0 4px 10px rgba(14, 165, 233, 0.04); }
.button-glow { box-shadow: 0 4px 14px 0 rgba(14, 165, 233, 0.39); }
.animated-gradient {
    background: linear-gradient(-45deg, #FFFFFF, #F0F9FF, #FFFFFF, #E0F2FE);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}
@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.reveal-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.bg-grid-pattern { background-image: radial-gradient(#d1d5db 1px, transparent 1px); background-size: 2rem 2rem; }

/* Ensure Tailwind's leading-tight works as expected */
.leading-tight { line-height: 1.25 !important; }

}

/* Protect Elementor/HFE header/footer from theme layer */
header.elementor-location-header,
header.elementor-location-header *,
header.hfe-header,
header.hfe-header *,
footer.elementor-location-footer,
footer.elementor-location-footer *,
footer.hfe-footer,
footer.hfe-footer * {
	all: revert-layer !important;
}
