/* ========================================
    INFRGY — Premium Gradient Design System
    Light Theme + Rich Gradients Everywhere
    ======================================== */

/* === CSS Custom Properties === */
:root {
    --blue-deep: #1E40AF;
    --blue-bright: #2563EB;
    --blue-electric: #3B82F6;
    --cyan-glow: #06B6D4;
    --purple-rich: #7C3AED;
    --gradient-primary: linear-gradient(135deg, #1E40AF, #3B82F6);
    --gradient-accent: linear-gradient(135deg, #3B82F6, #06B6D4);
    --gradient-full: linear-gradient(135deg, #1E40AF, #3B82F6, #06B6D4);
    --gradient-purple: linear-gradient(135deg, #1E40AF, #7C3AED);
    --gradient-card: linear-gradient(135deg, #FFFFFF, #F8FAFC);
    --shadow-glow-sm: 0 4px 20px rgba(30, 64, 175, 0.15);
    --shadow-glow-md: 0 8px 35px rgba(30, 64, 175, 0.2);
    --shadow-glow-lg: 0 15px 50px rgba(30, 64, 175, 0.25);
    --radius-xl: 20px;
    --radius-2xl: 28px;
    --radius-full: 9999px;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* === Global === */
.genex-v2 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.genex-v2 h1,
.genex-v2 h2,
.genex-v2 h3,
.genex-v2 h4,
.genex-v2 h5,
.genex-v2 h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0F172A;
}

/* ========================================
    GRADIENT TEXT
    ======================================== */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-full {
    background: var(--gradient-full);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
    GRADIENT BACKGROUNDS
    ======================================== */
.bg-gradient-primary {
    background: var(--gradient-primary) !important;
}

.bg-gradient-accent {
    background: var(--gradient-accent) !important;
}

.section-gradient-light {
    background: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 50%, #FFFFFF 100%);
    position: relative;
}

.section-gradient-blue {
    background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 50%, #F8FAFC 100%);
    position: relative;
}

.section-gradient-soft {
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 50%, #F1F5F9 100%);
    position: relative;
}

/* ========================================
    GRADIENT BORDERS (on hover)
    ======================================== */
.gradient-border {
    position: relative;
}

.gradient-border::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-2xl);
    padding: 2px;
    background: var(--gradient-accent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-smooth);
    pointer-events: none;
}

.gradient-border:hover::after {
    opacity: 1;
}

/* ========================================
    GRADIENT CARDS
    ======================================== */
.card-gradient {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-glow-sm);
    border: 1px solid rgba(30, 64, 175, 0.06);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.card-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.card-gradient:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow-lg);
    border-color: rgba(30, 64, 175, 0.15);
}

.card-gradient:hover::before {
    opacity: 1;
}

.card-gradient-highlight {
    background: linear-gradient(135deg, #FFFFFF 0%, #EFF6FF 100%);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-glow-sm);
    border: 1px solid rgba(59, 130, 246, 0.12);
    transition: all var(--transition-smooth);
}

.card-gradient-highlight:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow-lg);
    border-color: rgba(59, 130, 246, 0.25);
}

/* ========================================
    GRADIENT BUTTONS
    ======================================== */
.btn-gradient {
    background: var(--gradient-primary);
    color: #FFFFFF !important;
    border: none !important;
    padding: 14px 34px;
    border-radius: var(--radius-full);
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-glow-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity var(--transition-smooth);
    border-radius: var(--radius-full);
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-md);
}

.btn-gradient:hover::before {
    opacity: 1;
}

.btn-gradient span {
    position: relative;
    z-index: 1;
}

.btn-gradient-outline {
    background: transparent;
    border: 2px solid transparent !important;
    background-image: linear-gradient(#fff, #fff), var(--gradient-primary);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    color: #1E40AF !important;
    padding: 14px 34px;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all var(--transition-smooth);
}

.btn-gradient-outline:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-md);
    background-image: linear-gradient(#EFF6FF, #EFF6FF), var(--gradient-accent);
}

/* ========================================
    GRADIENT SECTION HEADINGS
    ======================================== */
.gradient-underline {
    position: relative;
    display: inline-block;
}

.gradient-underline::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 4px;
    margin: 16px auto 0;
}

.gradient-underline-left::after {
    margin: 16px 0 0;
}

/* ========================================
    GRADIENT BADGE
    ======================================== */
.badge-gradient {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.06), rgba(59, 130, 246, 0.12));
    color: #1E40AF;
    border: 1px solid rgba(30, 64, 175, 0.1);
    margin-bottom: 16px;
}

.badge-gradient::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gradient-accent);
    animation: badgePulse 1.5s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.6);
    }
}

/* ========================================
    GRADIENT HERO OVERLAYS
    ======================================== */
.hero-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.75), rgba(30, 64, 175, 0.4), rgba(6, 182, 212, 0.15));
}

.page-header-gradient {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(30, 64, 175, 0.5)),
        url("../img/New folder/new/2.webp") center center no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.page-header-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(59, 130, 246, 0.25), transparent 60%);
    pointer-events: none;
}

/* ========================================
    SECTION DIVIDERS (Wave + Diagonal)
    ======================================== */
.wave-divider {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
    z-index: 1;
}

.wave-divider-top {
    top: -1px;
}

.wave-divider-bottom {
    bottom: -1px;
}

.wave-divider-top svg {
    transform: rotate(180deg);
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 50px;
}

.wave-fill-white {
    fill: #FFFFFF;
}

.wave-fill-light {
    fill: #F8FAFC;
}

.wave-fill-blue-light {
    fill: #EFF6FF;
}

/* ========================================
    FLOATING GRADIENT ORBS
    ======================================== */
.float-orb-gradient {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
    opacity: 0.15;
    animation: orbFloat 12s ease-in-out infinite;
}

.float-orb-gradient--blue {
    background: #3B82F6;
    width: 350px;
    height: 350px;
}

.float-orb-gradient--cyan {
    background: #06B6D4;
    width: 250px;
    height: 250px;
}

.float-orb-gradient--purple {
    background: #7C3AED;
    width: 200px;
    height: 200px;
}

.float-orb-gradient--indigo {
    background: #1E40AF;
    width: 300px;
    height: 300px;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -40px) scale(1.08);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.92);
    }

    75% {
        transform: translate(40px, 30px) scale(1.05);
    }
}

/* ========================================
    GRADIENT STATS COUNTER
    ======================================== */
.stat-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-glow-sm);
    border: 1px solid rgba(30, 64, 175, 0.05);
    transition: all var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow-lg);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.08), rgba(59, 130, 246, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 2px solid rgba(30, 64, 175, 0.1);
}

.stat-icon i {
    font-size: 1.3rem;
    color: #1E40AF;
}

.stat-value {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: #64748B;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ========================================
    MARQUEE TICKER
    ======================================== */
.marquee-wrap {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 1.5rem 0;
}

.marquee-track {
    display: flex;
    gap: 3rem;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}

.marquee-wrap:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    opacity: 0.5;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.marquee-item:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.marquee-item img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.marquee-fade-left,
.marquee-fade-right {
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-fade-left {
    left: 0;
    background: linear-gradient(to right, #F8FAFC, transparent);
}

.marquee-fade-right {
    right: 0;
    background: linear-gradient(to left, #F8FAFC, transparent);
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ========================================
    GRADIENT INPUTS
    ======================================== */
.input-gradient {
    background: #FFFFFF;
    border: 1px solid rgba(30, 64, 175, 0.15) !important;
    border-radius: var(--radius-full) !important;
    padding: 14px 22px !important;
    font-size: 1rem !important;
    color: #1E293B !important;
    transition: all var(--transition-smooth) !important;
    outline: none !important;
}

.input-gradient:focus {
    border-color: #3B82F6 !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1) !important;
}

/* ========================================
    TIMELINE
    ======================================== */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #1E40AF, #3B82F6, #06B6D4, transparent);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: 3px solid #FFFFFF;
    box-shadow: 0 0 15px rgba(30, 64, 175, 0.4);
    z-index: 1;
}

.timeline-year {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1E40AF;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.25rem;
}

.timeline-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 0.5rem;
}

.timeline-text {
    color: #64748B;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
    GRADIENT GALLERY OVERLAY
    ======================================== */
.gallery-item {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    cursor: pointer;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(15, 23, 42, 0.85) 100%);
    opacity: 0;
    transition: opacity var(--transition-smooth);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    border-radius: var(--radius-2xl);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1rem;
}

/* ========================================
    SCROLL REVEAL ANIMATIONS
    ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.is-revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.is-revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.is-revealed {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays */
.stagger-reveal>*:nth-child(1) {
    transition-delay: 0.05s;
}

.stagger-reveal>*:nth-child(2) {
    transition-delay: 0.1s;
}

.stagger-reveal>*:nth-child(3) {
    transition-delay: 0.15s;
}

.stagger-reveal>*:nth-child(4) {
    transition-delay: 0.2s;
}

.stagger-reveal>*:nth-child(5) {
    transition-delay: 0.25s;
}

.stagger-reveal>*:nth-child(6) {
    transition-delay: 0.3s;
}

.stagger-reveal>*:nth-child(7) {
    transition-delay: 0.35s;
}

.stagger-reveal>*:nth-child(8) {
    transition-delay: 0.4s;
}

/* ========================================
    CTA BANNER
    ======================================== */
.cta-gradient {
    background: linear-gradient(135deg, #0F172A 0%, #1a1040 40%, #0F172A 100%);
    position: relative;
    overflow: hidden;
    color: #FFFFFF;
}

.cta-gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.1), transparent 60%);
    animation: ctaPulse 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ctaPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.8;
    }
}

/* ========================================
    BACK TO TOP
    ======================================== */
.back-to-top-v2 {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    box-shadow: var(--shadow-glow-md);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99;
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.back-to-top-v2:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-lg);
}

.back-to-top-v2 i {
    color: #FFFFFF;
    font-size: 1.2rem;
}

/* ========================================
    GRADIENT FOOTER
    ======================================== */
.footer-gradient {
    background: linear-gradient(180deg, #0F172A 0%, #1a1040 100%);
    position: relative;
    overflow: hidden;
}

.footer-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1E40AF, #3B82F6, #06B6D4, #7C3AED, #3B82F6, #1E40AF);
    background-size: 200% 100%;
    animation: footerShimmer 3s ease-in-out infinite;
}

@keyframes footerShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ========================================
    RESPONSIVE
    ======================================== */
@media (max-width: 991px) {
    .float-orb-gradient--blue {
        width: 200px;
        height: 200px;
    }

    .float-orb-gradient--cyan {
        width: 150px;
        height: 150px;
    }

    .back-to-top-v2 {
        right: 20px;
        bottom: 20px;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 768px) {

    .card-gradient:hover,
    .card-gradient-highlight:hover {
        transform: translateY(-3px);
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }
}