/* Core Styles & Fonts */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body {
    font-family: 'Inter', sans-serif;
    background-color: #fafafa;
    overflow-x: hidden;
}
img, svg, video, iframe, canvas {
    max-width: 100%;
    height: auto;
}

/* Glassmorphism Styles */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.05);
}
.glass-organic {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 30px 60px -15px rgba(3, 104, 141, 0.1);
}
.gradient-bg {
    background: linear-gradient(135deg, #03688d 0%, #86d5f8 100%);
}
.text-gradient {
    background: linear-gradient(135deg, #03688d 0%, #86d5f8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Parallax Orbital Background Blobs */
.blob-purple {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(3,104,141,0.12) 0%, rgba(250,250,250,0) 70%);
    z-index: -1;
    pointer-events: none;
    animation: float-blob-1 25s infinite ease-in-out alternate;
}
.blob-blue {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(134,213,248,0.18) 0%, rgba(250,250,250,0) 70%);
    z-index: -1;
    pointer-events: none;
    animation: float-blob-2 20s infinite ease-in-out alternate;
}
.blob-organic-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(3,104,141,0.08) 0%, rgba(250,250,250,0) 60%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: -1;
    pointer-events: none;
    filter: blur(40px);
    animation: float-blob-3 18s infinite ease-in-out alternate;
}
.blob-organic-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(134,213,248,0.12) 0%, rgba(250,250,250,0) 60%);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    z-index: -1;
    pointer-events: none;
    filter: blur(30px);
    animation: float-blob-2 22s infinite ease-in-out alternate;
}

/* Keyframes and Floating Animations */
@keyframes float-blob-1 {
    0% { transform: translate(0px, 0px) scale(1) rotate(0deg); }
    50% { transform: translate(40px, -60px) scale(1.1) rotate(60deg); }
    100% { transform: translate(-20px, 20px) scale(0.95) rotate(-40deg); }
}
@keyframes float-blob-2 {
    0% { transform: translate(0px, 0px) scale(1) rotate(0deg); }
    50% { transform: translate(-50px, 40px) scale(0.9) rotate(-90deg); }
    100% { transform: translate(30px, -20px) scale(1.05) rotate(45deg); }
}
@keyframes float-blob-3 {
    0% { transform: translate(0px, 0px) scale(1); border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    50% { transform: translate(30px, -40px) scale(1.05); border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    100% { transform: translate(-10px, 20px) scale(0.95); border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; }
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}
.floating {
    animation: float 6s ease-in-out infinite;
}
.floating-delayed {
    animation: float 6s ease-in-out infinite;
    animation-delay: 2s;
}

/* Scroll Reveal & Staggered 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);
    will-change: opacity, transform;
}
.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-45px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(45px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.93);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Typewriter Caret Animation */
.typewriter-cursor::after {
    content: '|';
    animation: blink-caret 0.75s step-end infinite;
    color: #03688d;
    margin-left: 2px;
}
@keyframes blink-caret {
    from, to { opacity: 0; }
    50% { opacity: 1; }
}

/* Mouse Glow Hover Cards */
.glow-card {
    position: relative;
    overflow: hidden;
}
.glow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(400px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(3, 104, 141, 0.08), transparent 45%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.glow-card:hover::before {
    opacity: 1;
}

/* Interactive Hover Glows */
.btn-hover-glow {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-hover-glow:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px -5px rgba(3, 104, 141, 0.35), 0 10px 15px -7px rgba(134, 213, 248, 0.25);
}

/* FAQ Accordion Details */
details > summary {
    list-style: none;
}
details > summary::-webkit-details-marker {
    display: none;
}
details[open] summary ~ * {
    animation: slideDown 0.3s ease-in-out;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Career Chart Path & Dot Transitions */
#career-chart-path {
    transition: d 0.6s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.6s ease;
}
.chart-dot {
    transition: cy 0.6s cubic-bezier(0.16, 1, 0.3, 1), fill 0.6s ease;
}

/* Infinite Logo Ticker */
.mask-edges {
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.animate-scroll {
    animation: scroll-ticker 25s linear infinite;
}

.logo-item {
    flex-shrink: 0;
}

@keyframes scroll-ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* WhatsApp Slide-out Animation */
.wa-btn {
    max-width: 56px;
    white-space: nowrap;
    overflow: hidden;
    animation: wa-slide-expand 12s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}
.wa-btn:hover {
    max-width: 250px !important;
    animation-play-state: paused !important;
}
.wa-text-container {
    opacity: 0;
    transform: translateX(15px);
    animation: wa-text-fade 12s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}
.wa-btn:hover .wa-text-container {
    opacity: 1 !important;
    transform: translateX(0) !important;
    animation-play-state: paused !important;
}
@keyframes wa-slide-expand {
    0%, 15% { max-width: 56px; padding-right: 0.5rem; }
    25%, 85% { max-width: 250px; padding-right: 1.25rem; }
    95%, 100% { max-width: 56px; padding-right: 0.5rem; }
}
@keyframes wa-text-fade {
    0%, 20% { opacity: 0; transform: translateX(15px); }
    30%, 80% { opacity: 1; transform: translateX(0); }
    90%, 100% { opacity: 0; transform: translateX(15px); }
}

.btn-hover-glow-yellow {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-hover-glow-yellow:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px -5px rgba(245, 158, 11, 0.4), 0 10px 15px -7px rgba(252, 211, 77, 0.3);
}
