/* Sleek Public Top Bar / Black Patti (Desktop Only — Hidden on Mobile to Prevent Viewport Overflow) */
@media (min-width: 992px) {
  div.gr-topbar,
  .gr-public-topbar {
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    background-color: #0b0e1e !important;
    padding: 0 !important;
    font-size: 0.8rem !important;
    line-height: 1.4 !important;
    display: flex !important;
    align-items: center !important;
  }
}
@media (max-width: 991.98px) {
  div.gr-topbar,
  .gr-public-topbar {
    display: none !important;
  }
}

div.gr-topbar .container,
.gr-public-topbar .container {
    height: 100%;
}

.gr-page-shell {
    background: #f8fafc;
}

.gr-page-hero,
.gr-hero,
.gr-about-hero,
.gr-pricing-hero,
.gr-contact-hero,
.gr-institutes-hero {
    position: relative;
    overflow: hidden;
    padding: 95px 0 85px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
    color: #fff;
}

.gr-page-hero::before,
.gr-hero::before,
.gr-about-hero::before,
.gr-pricing-hero::before,
.gr-contact-hero::before,
.gr-institutes-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
    pointer-events: none;
    z-index: 1;
}

.gr-page-hero::after,
.gr-hero::after,
.gr-about-hero::after,
.gr-pricing-hero::after,
.gr-contact-hero::after,
.gr-institutes-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 72px;
    background: linear-gradient(to top, #f8fafc, transparent);
    z-index: 2;
    pointer-events: none;
}

.gr-page-hero .container,
.gr-hero .container,
.gr-about-hero .container,
.gr-pricing-hero .container,
.gr-contact-hero .container,
.gr-institutes-hero .container {
    position: relative;
    z-index: 3;
}

.gr-page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.24);
    font-weight: 700;
    font-size: .86rem;
    margin-bottom: 18px;
}

.gr-page-title {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-size: clamp(2.15rem, 5vw, 4.3rem);
    line-height: 1.08;
    letter-spacing: -.03em;
    margin-bottom: 18px;
}

.gr-page-lead {
    max-width: 760px;
    font-size: 1.08rem;
    line-height: 1.8;
    color: rgba(255,255,255,.88);
}

.gr-page-section {
    padding: 72px 0;
}

.gr-ui-card {
    height: 100%;
    padding: 28px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 16px 42px rgba(15,23,42,.06);
}

.gr-ui-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--gr-gradient);
    font-size: 1.35rem;
    margin-bottom: 18px;
}

.gr-step-list {
    counter-reset: steps;
    display: grid;
    gap: 16px;
}

.gr-step {
    counter-increment: steps;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: start;
    padding: 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(15,23,42,.04);
}

.gr-step::before {
    content: counter(steps, decimal-leading-zero);
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--gr-gradient-light);
    color: var(--gr-primary);
    font-weight: 900;
}

.gr-price-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: none !important;
}

.gr-price-card.featured {
    border-color: var(--gr-primary, #4f46e5);
    border-width: 2px;
    box-shadow: none !important;
}

.gr-price-card.featured::before {
    content: "Recommended";
    position: absolute;
    top: 18px;
    right: -36px;
    transform: rotate(35deg);
    width: 160px;
    text-align: center;
    background: #f59e0b;
    color: #111827;
    font-size: .72rem;
    font-weight: 900;
    padding: 6px 0;
}

.gr-price-value {
    font-family: "Poppins", sans-serif;
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.1;
}

/* Horizontal Scrollable Pricing Cards Container */
.gr-pricing-cards-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 8px 4px 16px 4px;
}

.gr-pricing-cards-scroll::-webkit-scrollbar {
    height: 7px;
}

.gr-pricing-cards-scroll::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.gr-pricing-cards-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.gr-pricing-cards-scroll::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Desktop: Show exactly 3 cards at a time with scroll */
@media (min-width: 992px) {
    .gr-pricing-card-col {
        flex: 0 0 calc(33.333% - 14px);
        min-width: calc(33.333% - 14px);
        max-width: calc(33.333% - 14px);
        scroll-snap-align: start;
    }
}

/* Mobile & Tablet: Stack vertically top-to-bottom (upr-nice) */
@media (max-width: 991px) {
    .gr-pricing-cards-scroll {
        flex-direction: column;
        overflow-x: visible;
    }
    .gr-pricing-card-col {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
    }
}

.gr-scroll-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.gr-scroll-btn:hover {
    transform: scale(1.08);
    background-color: var(--gr-primary, #4f46e5);
    color: #ffffff !important;
    border-color: var(--gr-primary, #4f46e5) !important;
}

.gr-pricing-table-wrap {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 16px 42px rgba(15,23,42,.06);
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.gr-pricing-table-wrap::-webkit-scrollbar {
    height: 7px;
}

.gr-pricing-table-wrap::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.gr-pricing-table-wrap::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.gr-pricing-table-wrap::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.gr-pricing-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.gr-pricing-table th {
    background: #f8fafc !important;
    color: #0f172a;
    font-weight: 700;
    border-bottom: 2px solid #e2e8f0;
    padding: 16px 20px;
    white-space: nowrap;
}

.gr-pricing-table td {
    color: #475569;
    background: #ffffff !important;
    border-bottom: 1px solid #edf2f7;
    padding: 16px 20px;
    white-space: nowrap;
}

.gr-pricing-table th:first-child,
.gr-pricing-table td:first-child {
    font-weight: 600;
    min-width: 220px;
}

.gr-pricing-table tbody tr:last-child td {
    border-bottom: 0;
}

.gr-price-card .btn,
.pricing-card .btn {
    min-height: 46px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gr-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gr-check-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
    color: #475569;
}

.gr-check-list i {
    color: #10b981;
    margin-top: 2px;
}

.gr-guide-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gr-guide-nav a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
    border: 1px solid #dbe3ee;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    color: #334155;
    background: #fff;
}

.gr-guide-nav a:hover,
.gr-guide-nav a.active {
    color: #fff;
    background: var(--gr-gradient);
    border-color: transparent;
}

@media (max-width: 767px) {
    .gr-page-hero,
    .gr-hero,
    .gr-about-hero,
    .gr-pricing-hero,
    .gr-contact-hero,
    .gr-institutes-hero {
        padding: 48px 0 40px !important;
    }

    .gr-page-section {
        padding: 36px 0 !important;
    }

    .gr-ui-card {
        padding: 18px !important;
    }

    .gr-hero-title,
    .gr-page-hero h1 {
        font-size: 1.85rem !important;
        line-height: 1.25 !important;
    }

    .gr-hero-subtitle {
        font-size: 0.95rem !important;
    }

    .gr-hero-badge {
        font-size: 0.78rem !important;
        white-space: normal !important;
        line-height: 1.35 !important;
    }

    .btn, .gr-btn-primary, .gr-btn-white, .gr-btn-outline {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }

    /* Founder and Stats Section Mobile */
    .row.g-4 > div {
        margin-bottom: 8px;
    }

    /* Footer Mobile adjustments */
    .gr-footer {
        padding-bottom: 24px !important;
    }
}

