/* Google Fonts Import */
/* Google Fonts Import - Moved to index.html for performance */

/* Base Config */
:root {
    /* Logo-Matched Colors */
    --primary: #060d90;
    /* Deep Blue (Professional) */
    --secondary: #040960;
    /* Darker Navy */
    --accent: #FF8F00;
    /* Orange (from logo) */
    --accent-yellow: #FFC107;
    /* Golden Yellow (from logo) */
    --bright-blue: #2940D3;
    /* Bright Blue Accent */
    --dark: #02042b;
    /* Very Dark Navy */
    --light: #ffffff;
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.7);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    background-image:
        radial-gradient(at 0% 0%, hsla(237, 60%, 10%, 0) 0, hsla(237, 60%, 10%, 0) 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 0) 0, hsla(225, 39%, 30%, 0) 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 0) 0, hsla(339, 49%, 30%, 0) 50%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: sans-serif;
    letter-spacing: -0.025em;
}

/* Global Selection Premium */
::selection {
    background: rgba(6, 13, 144, 0.2);
    color: #060d90;
}

/* Custom Scrollbar - Premium Slim */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #060d90, #2940D3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #040960, #1e3a8a);
}

/* Utility Classes */
.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

.text-gradient {
    background: linear-gradient(to right, #060d90, #2940D3, #FF8F00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradient-move 4s linear infinite;
}

@keyframes gradient-move {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.text-gradient-gold {
    background: linear-gradient(to right, #FF8F00, #FFC107, #FFB300);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Logo Color Utilities */
.text-logo-blue {
    color: #060d90;
}

.text-logo-navy {
    color: #040960;
}

.text-logo-cyan {
    color: #2940D3;
}

.text-logo-orange {
    color: #FF8F00;
}

.text-logo-yellow {
    color: #FFC107;
}

.bg-logo-blue {
    background-color: #060d90;
}

.bg-logo-navy {
    background-color: #040960;
}

.bg-logo-cyan {
    background-color: #2940D3;
}

.bg-logo-orange {
    background-color: #FF8F00;
}

.bg-logo-yellow {
    background-color: #FFC107;
}

.border-logo-blue {
    border-color: #060d90;
}

.border-logo-cyan {
    border-color: #2940D3;

}

.border-logo-orange {
    border-color: #FF8F00;
}


/* Glassmorphism - Premium */
.glass {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.glass-nav.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.95);
}

/* 21.dev Style Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-rows: min-content;
    }
}

.bento-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
}

.bento-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
    border-color: #bae6fd;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(41, 64, 211, 0.4);
    }

    50% {
        box-shadow: 0 0 20px 0 rgba(41, 64, 211, 0.2);
    }
}

.animate-pulse-glow {
    animation: pulse-glow 3s infinite;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out forwards;
}

.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);
}

/* Spotlight Effect */
.spotlight-card {
    position: relative;
    overflow: hidden;
    background-color: white;
    border: 1px solid #e2e8f0;
}

.spotlight-card::before {
    content: '';
    position: absolute;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(41, 64, 211, 0.08), transparent 40%);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s;
}

.spotlight-card:hover::before {
    opacity: 1;
}

/* Background Patterns */
.bg-grid-slate-100 {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' width='32' height='32' fill='none' stroke='rgb(241 245 249)'%3e%3cpath d='M0 .5H31.5V32'/%3e%3c/svg%3e");
}

.bg-dot-slate-200 {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' width='32' height='32' fill='none'%3e%3ccircle fill='rgb(226 232 240)' cx='1' cy='1' r='1'/%3e%3c/svg%3e");
}

/* Marquee */
.marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.marquee-content {
    display: flex;
    width: fit-content;
    animation: marquee 40s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-content {
    will-change: transform;
}

/* Premium Button */
.btn-premium {
    background: linear-gradient(135deg, #060d90 0%, #040960 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(6, 13, 144, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 13, 144, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-premium:hover::before {
    left: 100%;
}

/* Hero Overlay */
.hero-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
}

/* Infinite Moving Cards */
.infinite-scroll-mask {
    -webkit-mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
    mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
}

@keyframes infinite-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.animate-infinite-scroll {
    animation: infinite-scroll 40s linear infinite;
    will-change: transform;
}

@keyframes infinite-scroll-slow {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.animate-infinite-scroll-slow {
    animation: infinite-scroll-slow 40s linear infinite;
    will-change: transform;
}

/* Card Glow Hover */
.glow-card {
    transition: all 0.3s ease;
}

.glow-card:hover {
    box-shadow: 0 0 20px rgba(41, 64, 211, 0.25);
    border-color: rgba(41, 64, 211, 0.4);
    background: rgba(255, 255, 255, 0.95);
}

/* Magnetic Button (simulated) */
.btn-magnetic {
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-magnetic:hover {
    transform: translateY(-2px) scale(1.05);
}

html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Floating WhatsApp styles removed - moved to floating_buttons.css */

/* Hero Slider Zoom Effect */
@keyframes hero-zoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

#hero-slider img.active-slide {
    opacity: 0.15;
    /* Visibility of active image */
    animation: hero-zoom 8s linear infinite alternate;
    z-index: 1;
}

#hero-slider img {
    will-change: transform, opacity;
}

/* Like Button Animation */
.like-btn i {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.like-btn i.scale-125 {
    transform: scale(1.4);
}

/* Back to Top Button styles removed - moved to floating_buttons.css */

/* Accordion Transition Fix */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

/* Utility: Hide Scrollbar */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Abstract Background Pattern - Premium Mesh Gradient */
.bg-abstract {
    background-color: #f8fafc;
    position: relative;
    /* Removed background-attachment: fixed for mobile performance */
}

.bg-abstract::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        radial-gradient(at 0% 0%, rgba(6, 13, 144, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(41, 64, 211, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(255, 143, 0, 0.05) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(6, 13, 144, 0.08) 0px, transparent 50%);
    background-size: 100% 100%;
    pointer-events: none;
}

/* --- Section Shaders (Atmospheric Glows) --- */
.shader-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.shader-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    transition: all 0.5s ease;
    animation: float-slow 10s ease-in-out infinite alternate;
}

/* Colors based on Brand Palette */
.shader-blue-primary {
    background: radial-gradient(circle, rgba(6, 13, 144, 0.6) 0%, rgba(6, 13, 144, 0) 70%);
}

.shader-blue-accent {
    background: radial-gradient(circle, rgba(41, 64, 211, 0.5) 0%, rgba(41, 64, 211, 0) 70%);
}

.shader-orange {
    background: radial-gradient(circle, rgba(255, 143, 0, 0.4) 0%, rgba(255, 143, 0, 0) 70%);
}

.shader-cyan {
    background: radial-gradient(circle, rgba(3, 169, 244, 0.4) 0%, rgba(3, 169, 244, 0) 70%);
}

/* Sizes */
.blob-lg {
    width: 600px;
    height: 600px;
}

.blob-md {
    width: 400px;
    height: 400px;
}

.blob-sm {
    width: 250px;
    height: 250px;
}

/* Animation Keyframes */
@keyframes float-slow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

/* Hero Slider Animation */
.hero-slider div {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 50;
    animation: heroFade 15s infinite;
}

.hero-slider div:nth-child(1) {
    animation-delay: 0s;
}

.hero-slider div:nth-child(2) {
    animation-delay: 5s;
}

.hero-slider div:nth-child(3) {
    animation-delay: 10s;
}

@keyframes heroFade {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    5% {
        opacity: 1;
    }

    /* Quick fade in */
    33% {
        opacity: 1;
    }

    /* Stay visible */
    38% {
        opacity: 0;
        transform: scale(1.05);
    }

    /* Fade out with slight zoom */
    100% {
        opacity: 0;
    }
}