/* Jeevan Chetna Anusandhan Premium Custom Stylesheet */

/* Font Families definitions */
.font-serif {
    font-family: 'Playfair Display', Georgia, serif !important;
}

.font-sans {
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif !important;
}

:root {
    --color-brand-navy: #0B2E63;
    --color-brand-royal: #1E5AA8;
    --color-brand-green: #0E7C4A;
    --color-brand-gold: #D4A64A;
    --color-brand-light: #F8FAFC;
}

/* Smooth scrolling & global horizontal scroll protection without breaking sticky navigation */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
    /* Offset for premium sticky navbar */
    overflow-x: clip;
    max-width: 100%;
}

body {
    background-color: var(--color-brand-light);
    color: #334155;
    /* Slate-700 for high readability */
    overflow-x: clip;
    max-width: 100%;
}

/* Glassmorphism Card (Stripe/Apple Inspired) */
.premium-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 40px -10px rgba(11, 46, 99, 0.04),
        0 1px 1px 0 rgba(11, 46, 99, 0.02);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -15px rgba(11, 46, 99, 0.08),
        0 1px 3px 0 rgba(11, 46, 99, 0.04);
    border-color: rgba(30, 90, 168, 0.2);
}

/* Dark theme premium cards */
.dark-premium-card {
    background: rgba(11, 46, 99, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.3);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dark-premium-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-brand-gold);
}

/* Parallax grid decoration */
.luxury-grid-overlay {
    background-size: 50px 50px;
    background-image: linear-gradient(to right, rgba(30, 90, 168, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(30, 90, 168, 0.015) 1px, transparent 1px);
}

.hero-grid-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background-size: 46px 46px;
    background-image: linear-gradient(to right, rgba(30, 90, 168, 0.12) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(30, 90, 168, 0.12) 1px, transparent 1px);
    pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #F1F5F9;
}

::-webkit-scrollbar-thumb {
    background: var(--color-brand-navy);
    border-radius: 5px;
    border: 2px solid #F1F5F9;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-brand-royal);
}

/* Floating Animations for Hero Card illustrations */
@keyframes float-slow {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(1deg);
    }
}

@keyframes float-medium {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(-1.5deg);
    }
}

@keyframes float-fast {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

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

.animate-float-2 {
    animation: float-medium 5s infinite ease-in-out;
}

.animate-float-3 {
    animation: float-fast 7s infinite ease-in-out;
}

/* Gold glowing text */
.gold-glow {
    text-shadow: 0 0 12px rgba(212, 166, 74, 0.2);
}

/* Dropdown Menu CSS transition classes */
.dropdown-menu {
    visibility: hidden;
    opacity: 0;
    transform: translate(-50%, 10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-trigger:hover .dropdown-menu,
.dropdown-menu:hover {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
}

/* Custom Accordion transition helper */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
}

.accordion-active .accordion-content {
    max-height: 500px;
    padding-bottom: 24px;
}

.accordion-active .accordion-icon {
    transform: rotate(185deg);
}

/* Infinite logos marquee carousel */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-marquee {
    animation: marquee 25s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

.university-marquee-list>div {
    background: linear-gradient(135deg, #0E7C4A 0%, #1E5AA8 42%, #0B2E63 100%);
    border: 1px solid rgba(14, 124, 74, 0.24);
    color: #ffffff;
    box-shadow: 0 18px 35px rgba(14, 124, 74, 0.16);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.university-marquee-list>div:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 45px rgba(14, 124, 74, 0.22);
    border-color: rgba(30, 90, 168, 0.3);
}

.university-marquee-list>div i {
    color: rgba(255, 255, 255, 0.88);
}

.university-marquee-list>div span {
    color: #f8fafc;
}

/* Custom premium styles matching Apple + Stripe design system */
.font-sans {
    font-family: 'Poppins', 'Inter', ui-sans-serif, system-ui, sans-serif !important;
}

/* Hero section tinted boundary and modern glass card accent */
.bg-hero-gradient {
    position: relative;
    background-color: #eef6fb;
}

.bg-hero-gradient::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: calc(100% + 140px);
    height: 120px;
    background: linear-gradient(180deg, rgba(238, 246, 251, 0) 0%, rgba(238, 246, 251, 0.96) 65%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-card {
    position: relative;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(14, 124, 74, 0.12);
    border-radius: 30px;
    box-shadow: 0 24px 70px rgba(14, 124, 74, 0.08);
    backdrop-filter: blur(18px);
}

.hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2));
    pointer-events: none;
    opacity: 0.95;
}

.hero-card>* {
    position: relative;
    z-index: 1;
}

/* Medical dot grid and crosses background pattern (with 3% opacity) */
.bg-medical-pattern {
    background-color: #F8FAFC;
    background-image:
        radial-gradient(rgba(14, 124, 74, 0.04) 1.5px, transparent 1.5px),
        radial-gradient(rgba(30, 90, 168, 0.04) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
}

.bg-hero-gradient {
    position: relative;
    background-color: #eef6fb;
}

.bg-hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(circle at 18% 18%, rgba(14, 124, 74, 0.16) 0%, transparent 24%),
        radial-gradient(circle at 76% 82%, rgba(30, 90, 168, 0.14) 0%, transparent 20%),
        linear-gradient(135deg, rgba(238, 246, 255, 1) 0%, rgba(247, 252, 249, 1) 42%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
}

/* Stripe-inspired blur color blobs */
.stripe-blob {
    position: absolute;
    border-radius: 9999px;
    filter: blur(130px);
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

/* Stripe/Apple style rounded cards with heavy shadows and hover translate effects */
.stripe-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}

.stripe-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12), 0 0 20px rgba(14, 124, 74, 0.12);
    border-color: rgba(14, 124, 74, 0.35);
}

/* Premium gradient buttons (Blue -> Green, Rounded 16px, arrow shift) */
.premium-btn-gradient {
    background: linear-gradient(135deg, #1E5AA8 0%, #0E7C4A 100%) !important;
    border-radius: 16px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(14, 124, 74, 0.2) !important;
}

.premium-btn-gradient:hover {
    background: linear-gradient(135deg, #0B2E63 0%, #0E7C4A 100%) !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(14, 124, 74, 0.3) !important;
}

.premium-btn-gradient i {
    transition: transform 0.3s ease;
}

.premium-btn-gradient:hover i {
    transform: translateX(4px);
}

/* Premium radial-linear hero background gradient */
.bg-hero-gradient {
    background: radial-gradient(circle at 80% 20%, rgba(30, 90, 168, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 15% 85%, rgba(14, 124, 74, 0.08) 0%, transparent 40%),
                linear-gradient(135deg, #F5F9FD 0%, #F1F7F5 50%, #FCFAF2 100%) !important;
}

/* Helper class for Stripe-style text gradient */
.text-gradient-primary {
    background: linear-gradient(135deg, #0B2E63 0%, #1E5AA8 50%, #0E7C4A 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
}
