/*
Theme Name: Yashaswi InfoTech Custom Theme
Theme URI: https://yashaswiinfotech.com/
Author: Bhumika Barasiya / Senior Web Engineering Team
Author URI: https://yashaswiinfotech.com/
Description: High-performance, Core Web Vitals optimized custom WordPress theme.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: yashaswi
*/

/* Core Background & Typography Fallbacks */
body {
    background-color: #070D18 !important;
    color: #f1f5f9;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Custom Brand Colors */
.bg-brand-navyDark { background-color: #070D18 !important; }
.bg-brand-navyCard { background-color: #0B1626 !important; }
.bg-brand-navyLight { background-color: #122238 !important; }
.bg-brand-sky { background-color: #38BDF8 !important; }
.bg-brand-cyan { background-color: #00F2FE !important; }

.text-brand-navyDark { color: #070D18 !important; }
.text-brand-sky { color: #38BDF8 !important; }
.text-brand-cyan { color: #00F2FE !important; }
.text-brand-slateText { color: #94A3B8 !important; }

.border-brand-sky\/15 { border-color: rgba(56, 189, 248, 0.15) !important; }
.border-brand-sky\/20 { border-color: rgba(56, 189, 248, 0.20) !important; }
.border-brand-sky\/30 { border-color: rgba(56, 189, 248, 0.30) !important; }
.border-brand-sky\/40 { border-color: rgba(56, 189, 248, 0.40) !important; }

/* Glassmorphism Styles */
.glass-dark {
    background: rgba(11, 22, 38, 0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(56, 189, 248, 0.15) !important;
}

.glass-glow-card {
    background: linear-gradient(145deg, rgba(18, 34, 56, 0.85) 0%, rgba(7, 13, 24, 0.95) 100%) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-glow-card:hover {
    border-color: rgba(56, 189, 248, 0.5) !important;
    transform: translateY(-6px);
    box-shadow: 0 12px 40px -10px rgba(56, 189, 248, 0.25);
}

.mega-dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.25s ease-in-out;
}

.group:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gradient-text {
    background: linear-gradient(135deg, #00F2FE 0%, #38BDF8 50%, #818CF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Button Glow Effects */
.btn-hover-glow {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-hover-glow:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.4);
}

.btn-hover-glow:active {
    transform: translateY(0) scale(0.98);
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Infinite Logo Marquee */
@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

.animate-marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 20s linear infinite;
}

.animate-marquee-track:hover {
    animation-play-state: paused;
}


/* Hero Banner Canvas & Glow Fixes */
#canvas-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

#canvas-container canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* Ambient Radial Glow behind the text */
.hero-glow-backdrop {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 650px;
    height: 350px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, rgba(0, 242, 254, 0.08) 45%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 1;
}