
/*
Theme Name: CSE Marketing
Theme URI: https://classifyskilleducation.com
Author: Classify Skill Team
Author URI: https://classifyskilleducation.com
Description: A high-conversion digital marketing agency theme using Tailwind CSS.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cse-marketing
*/

/* =========================================
   1. Global Reset & Base
   ========================================= */
:root {
    --primary: #FACC15;
    --dark: #050505;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%;
    position: relative;
    background-color: #ffffff;
    color: #050505;
}

/* =========================================
   2. Custom Scrollbar
   ========================================= */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #FACC15;
}

/* =========================================
   3. Animations (Converted from Tailwind Config)
   ========================================= */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes pulse-slow {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

/* Utility Classes for Animations */
.animate-fade-up {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-up-delay-1 {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0; /* Start hidden */
}

.animate-fade-up-delay-2 {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
    opacity: 0; /* Start hidden */
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-bounce-slow {
    animation: float 3s infinite;
}

/* =========================================
   4. Utility Patterns & Helpers
   ========================================= */
.bg-grid-pattern {
    background-image: linear-gradient(to right, #f0f0f0 1px, transparent 1px),
                      linear-gradient(to bottom, #f0f0f0 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Mobile Menu Transitions */
.mobile-menu-active {
    overflow: hidden !important;
}

/* Hide scrollbar for horizontal scrolling areas */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Card Equal Height Helper */
.card-equal-height {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* WordPress Admin Bar Fix (Optional: pushes content down if admin bar is present) */
body.admin-bar #main-header {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar #main-header {
        top: 46px;
    }
}
