@tailwind base;
@tailwind components;
@tailwind utilities;

/* Main Styles Extracted from index.html */
:root {
    --primary: #074a86;
    /* Karunya Royal Blue */
    --secondary: #00d2ff;
    /* Electric Blue */
    --accent: #f59e0b;
    /* Energy Amber */
    --text-main: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --glass: rgba(255, 255, 255, 0.85);
    --card-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom Styles & Utilities */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    background-color: #FAFCFF;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
    transition: var(--transition);
}

.nav-container {
    width: 100%;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .brand {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.logo-text .dept {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: 1px;
}

/* Updated Nav Structure for Expandable Layout */
.nav-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* Align to right */
    width: 100%;
    padding-left: 2rem;
    position: relative;
}

.nav-row {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin-bottom: 0;
    width: 100%;
    justify-content: flex-end;
    /* Align items to right */
    align-items: center;
}

.nav-row.bottom {
    display: none;
    /* Hidden by default */
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.nav-row.bottom.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

/* Hide bottom row when top row is hovered (Desktop) */
@media (min-width: 1101px) {
    .nav-wrapper:has(.nav-row.top .nav-item:hover) .nav-row.bottom.active {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

}

/* Desktop Toggle Button */
.desktop-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(7, 74, 134, 0.1);
    color: var(--primary);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    margin-left: 0.5rem;
    border: 1px solid rgba(7, 74, 134, 0.1);
}

.desktop-toggle:hover {
    background: var(--primary);
    color: white;
}

.desktop-toggle.active [data-lucide] {
    transform: rotate(180deg);
}

/* Mobile Responsive Adjustments */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    .mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        z-index: 1001;
        width: 40px;
        height: 40px;
        border-radius: 8px;
        transition: var(--transition);
        color: var(--primary);
        font-size: 30px;
        /* Ensure text icon is large enough */
        line-height: 1;
    }

    .desktop-toggle {
        display: none;
    }

    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 80px 1rem 2rem;
        overflow-y: auto;
    }

    .nav-wrapper.active {
        right: 0;
    }

    .nav-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem !important;
        width: 100% !important;
        margin-bottom: 0;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .nav-row.bottom {
        margin-top: 0.75rem;
    }

    /* Stable Hover Logic - Fix Flickering */
    .nav-item {
        transition: opacity 0.2s ease;
    }

    /* Hide others when one is hovered without shifting layout */
    .nav-wrapper:has(.nav-item:hover) .nav-item:not(:hover) {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .nav-item:hover {
        /* Removed grid-column: span 2 to prevent shifting/flickering */
        z-index: 10;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0.5rem 0 0.5rem 1.5rem;
        display: none;
        min-width: auto;
        width: 100%;
        border: none;
        background: transparent;
    }

    /* Show dropdown on hover/focus */
    .nav-item:hover .dropdown,
    .nav-item:focus-within .dropdown {
        display: block;
    }

    /* Make the link occupy full width if needed when focused */
    .nav-item:hover .nav-link {
        background: rgba(7, 74, 134, 0.08);
        color: var(--primary);
    }

    .nav-link {
        justify-content: center;
        width: 100%;
        text-align: center;
        background: rgba(7, 74, 134, 0.03);
    }
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link:hover {
    background: rgba(7, 74, 134, 0.05);
    color: var(--primary);
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 240px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 6px;
    transition: var(--transition);
}

.dropdown a:hover {
    background: var(--bg-light);
    color: var(--primary);
    padding-left: 1.25rem;
}

.mobile-toggle {
    display: none;
    color: var(--primary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-toggle:hover {
    background: rgba(7, 74, 134, 0.1);
}

/* --- Slider Controls --- */
.slider-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.nav-btn {
    width: 45px;
    height: 45px;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 4px;
    /* Square with slight radius */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-main);
}

.nav-btn:hover {
    border-color: var(--text-main);
    background: var(--bg-light);
}

.nav-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.progress-bar {
    flex-grow: 1;
    /* Take remaining space or fixed width */
    max-width: 200px;
    /* Limit width as per design */
    height: 2px;
    background: #e2e8f0;
    position: relative;
    border-radius: 1px;
}

.progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: black;
    width: 33%;
    /* Start at 1/3 */
    transition: width 0.3s ease, left 0.3s ease;
}

/* Hide slider controls on desktop/laptop */
@media (min-width: 1025px) {
    .slider-controls {
        display: none !important;
    }

    .programs-track {
        transform: none !important;
        /* Reset transform on desktop since slider is hidden */
        justify-content: center;
        flex-wrap: wrap;
    }

    .program-card {
        flex: 0 0 calc(33.333% - 2rem);
    }
}

/* Ambient Background Glows (Mesh Gradient Effect) */
.bg-glow-teal {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 184, 191, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.bg-glow-blue {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

/* Richer Glassmorphism Cards */
.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 255, 0.85) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 1);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    border-right: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 40px -10px rgba(37, 99, 235, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 184, 191, 0.25);
    border-color: rgba(0, 184, 191, 0.3);
}

/* 3D Flip Cards */
.flip-card {
    background-color: transparent;
    perspective: 1200px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 1.5rem;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/* Infinite Marquee */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    background: linear-gradient(90deg, rgba(230, 239, 255, 0.8) 0%, rgba(229, 252, 251, 0.8) 50%, rgba(230, 239, 255, 0.8) 100%);
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: marquee 60s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.marquee-content>div {
    flex-shrink: 0;
}

@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Vertical Marquee */
.vertical-marquee-wrapper {
    height: 450px;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.vertical-marquee {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    animation: scrollVertical 25s linear infinite;
}

.vertical-marquee.reverse {
    animation: scrollVerticalReverse 25s linear infinite;
}

@keyframes scrollVertical {
    0% {
        transform: translateY(0);
    }

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

@keyframes scrollVerticalReverse {
    0% {
        transform: translateY(-50%);
    }

    100% {
        transform: translateY(0);
    }
}

/* Hero Spotlight Pulse */
.hero-spotlight {
    background: radial-gradient(circle at center, rgba(0, 184, 191, 0.2) 0%, rgba(37, 99, 235, 0.1) 40%, transparent 70%);
    animation: pulse-spotlight 6s ease-in-out infinite alternate;
}

@keyframes pulse-spotlight {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Three.js Canvas Overlays */
.three-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.content-layer {
    position: relative;
    z-index: 10;
}

/* Feature Pills Rich Hover */
.feature-pill {
    transition: all 0.3s ease;
}

.feature-pill:hover {
    background-color: #F0FFFE;
    border-color: #00B8BF;
    transform: translateX(8px) !important;
}

/* Carousel Styles */
.carousel-wrapper {
    width: 100%;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    width: 100%;
    gap: 2rem;
    /* Reverted back to 2rem */
    padding: 1.5rem 0;
}

.carousel-card {
    flex: 0 0 100%;
    min-width: 100%;
}

@media (min-width: 768px) {
    .carousel-card {
        flex: 0 0 calc(25% - 24px);
        /* Correct for 2rem (32px) gap: 3*32/4 = 24px */
        min-width: calc(25% - 24px);
    }
}

.carousel-dot {
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    transform: scale(1.2);

    box-shadow: 0 4px 12px rgba(0, 184, 191, 0.15);
}

/* Hide scrollbar for horizontal pin */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}





/* --- Footer --- */
footer {
    background: #050505;
    color: white;
    padding: 5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2.5rem;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Vision & Mission Styles (Tabbed Refinement) */
#vision-mission {
    background: #ffffff;
}

.tab-button {
    flex: 1;
    border: 1px solid rgba(13, 36, 79, 0.08);
    background: rgba(244, 247, 255, 0.4);
    backdrop-filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.tab-button:hover {
    border-color: rgba(33, 90, 212, 0.2);
    background: rgba(244, 247, 255, 0.8);
    transform: translateY(-2px);
}

.tab-button.active {
    background: #ffffff;
    border-color: rgba(33, 90, 212, 0.3);
    box-shadow: 0 10px 25px -5px rgba(13, 36, 79, 0.08);
    transform: translateY(-2px);
}

.tab-button .icon-box {
    background: white;
    color: #0d244f;
    /* Navy Icon */
    transition: all 0.3s ease;
}

.tab-button.active .icon-box {
    background: #0d244f;
    color: white;
}

.tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #F4F7FF 0%, #E6EFFF 50%, #E5FCFB 100%);
    border: 1px solid rgba(33, 90, 212, 0.1);
    box-shadow: 0 20px 50px -20px rgba(13, 36, 79, 0.1);
    margin-top: 1rem;
    padding: 1.5rem;
    border-radius: 2rem;
    width: 100%;
}

.vm-gradient-text {
    background: linear-gradient(135deg, #074a86 0%, #00d2ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback */
    display: inline-block;
}

.vm-gradient-badge {
    background: linear-gradient(135deg, #074a86 0%, #00d2ff 100%);
    color: white;
}

.vm-gradient-circle {
    background: linear-gradient(135deg, #074a86 0%, #00d2ff 100%);
    color: white;
}

.tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 1024px) {
    .tab-pane {
        margin-top: 2rem;
        padding: 4rem;
        border-radius: 3.5rem;
    }
}

/* --- Testimonies Section --- */
.testimonies-viewport {
    overflow: hidden;
    width: 100%;
    padding: 2rem 0 2rem 0;
    margin-right: -2rem;
    padding-right: 2rem;
}

.testimonies-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card-wrapper {
    flex: 0 0 calc(50% - 1rem);
    /* 2 cards per view on desktop */
    min-width: 0;
    aspect-ratio: 2 / 1;
}

@media (max-width: 768px) {
    .testimonies-viewport {
        margin-right: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .testimonies-track {
        gap: 0 !important;
    }

    .testimonial-card-wrapper {
        flex: 0 0 100% !important;
        aspect-ratio: auto !important;
        padding: 0 1.5rem !important; /* Space between cards in 100% slide */
        box-sizing: border-box;
    }

    .testimonial-card {
        flex-direction: column-reverse;
        text-align: center;
        gap: 1.5rem !important;
        padding: 1.5rem !important;
        height: auto !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .testimonial-card>.flex-1 {
        align-items: center !important;
        justify-content: center !important;
        width: 100%;
    }

    .testimonial-profile {
        width: 120px !important;
        height: 120px !important;
        border-radius: 50% !important;
        margin-bottom: 0.5rem;
    }

    .quote-icon {
        font-size: 3rem !important;
        margin-top: 0.5rem !important;
        margin-bottom: -1rem !important;
    }

    .star-rating {
        justify-content: center !important;
    }
}

.testimonial-card {
    background-color: #0A1F44;
    border-radius: 2rem;
    padding: 1.5rem 2rem 2.5rem 2rem;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3.5rem;
    overflow: hidden;
}

.testimonial-card>.flex-1 {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 0.5rem;
}

.testimonial-card>.flex-shrink-0 {
    flex-shrink: 0;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-profile {
    width: 180px;
    height: 240px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.quote-icon {
    font-size: 5rem;
    line-height: 1;
    color: white;
    font-family: serif;
    opacity: 1;
    margin-bottom: -2rem;
    margin-top: 2.5rem;
}

.star-rating {
    color: white;
    display: flex;
    gap: 4px;
    margin-bottom: 0.5rem;
}

.testimony-highlight {
    background-color: #2563EB;
    color: white;
    padding: 0 1.25rem;
    border-radius: 8px;
    display: inline-block;
}

.testimony-dot.active {
    background-color: var(--primary);
    width: 30px;
}

/* --- FAQ Accordion --- */
.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid rgba(13, 36, 79, 0.08);
    border-radius: 1.25rem;
    margin-bottom: 1.25rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 10px 25px -5px rgba(13, 36, 79, 0.05);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 20px 40px -10px rgba(7, 74, 134, 0.1);
}

.faq-trigger {
    width: 100%;
    padding: 1.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
    outline: none;
}

.faq-question {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    padding-right: 2rem;
    line-height: 1.4;
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #F8FAFC;
}

.faq-item.active .faq-content {
    max-height: 500px;
    border-top: 1px solid rgba(13, 36, 79, 0.05);
}

.faq-answer {
    padding: 2rem;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

.testimony-dot {
    width: 10px;
    height: 10px;
    border-radius: 99px;
    background: #D1D5DB;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimony-dot.active {
    background: #2563EB;
    width: 32px;
}

@media (max-width: 1024px) {
    .tab-container {
        flex-direction: column;
    }

    .tab-button {
        width: 100%;
    }
}

/* Additional Component Styles */
.hero-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid rgba(0, 184, 191, 0.25);
    box-shadow: 0 4px 24px -4px rgba(0, 184, 191, 0.15), 0 0 0 1px rgba(255,255,255,0.5) inset;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    transition: all 0.4s ease;
    margin-bottom: 2rem;
}

@media (max-width: 480px) {
    .hero-badge {
        padding: 0.6rem 1.2rem;
        letter-spacing: 0.08em;
        font-size: 0.7rem;
    }
}
.hero-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: -1;
}
.hero-badge-text {
    background: linear-gradient(135deg, #0A1F44 0%, #2563EB 50%, #00B8BF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}
.hero-badge-dot {
    position: relative;
    width: 8px;
    height: 8px;
}
.hero-badge-dot::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #00B8BF, #2563EB);
    animation: badge-pulse 2s ease-in-out infinite;
}
.hero-badge-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00B8BF, #2563EB);
    opacity: 0;
    animation: badge-ping 2s ease-in-out infinite;
}
@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}
@keyframes badge-ping {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2.2); opacity: 0; }
}

.hero-btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #00B8BF 0%, #2563EB 100%);
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    border: none;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 8px 30px -4px rgba(0, 184, 191, 0.45), 0 0 0 1px rgba(255,255,255,0.15) inset;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    z-index: 1;
}
.hero-btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: none;
    animation: hero-shimmer 3s ease-in-out infinite;
    z-index: 0;
}
@keyframes hero-shimmer {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}
.hero-btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 40px -4px rgba(0, 184, 191, 0.55), 0 0 60px -10px rgba(37, 99, 235, 0.3), 0 0 0 1px rgba(255,255,255,0.2) inset;
}
.hero-btn-primary .hero-btn-arrow {
    display: inline-flex;
    transition: transform 0.3s ease;
}
.hero-btn-primary:hover .hero-btn-arrow {
    transform: translateX(4px);
}

.hero-btn-secondary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.1rem 2.5rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #0A1F44;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    border: 1.5px solid rgba(10, 31, 68, 0.12);
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 4px 20px -4px rgba(10, 31, 68, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}
.hero-btn-secondary:hover {
    transform: translateY(-3px) scale(1.03);
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 184, 191, 0.4);
    box-shadow: 0 10px 30px -4px rgba(0, 184, 191, 0.18), 0 0 0 1px rgba(0, 184, 191, 0.15);
    color: #00B8BF;
}
