/* =========================
   HOMEPAGE UPGRADE
========================= */
.apk-home-hero {
    min-height: 100vh;
}

.apk-hero-content {
    position: relative;
    z-index: 3;
}

.apk-hero-row {
    min-height: 100vh;
}

.apk-hero-kicker {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.24);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.apk-hero-title {
    font-family: "Poppins", sans-serif;
    font-size: 58px;
    line-height: 1.05;
    font-weight: 800;
    color: #fff;
    max-width: 760px;
    margin-bottom: 20px;
}

.apk-hero-text {
    font-size: 19px;
    line-height: 1.7;
    color: rgba(255,255,255,0.92);
    max-width: 700px;
    margin-bottom: 28px;
}

.apk-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.apk-primary-btn {
    padding: 16px 34px;
    font-weight: 600;
}

.apk-secondary-btn {
    display: inline-block;
    padding: 16px 34px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff !important;
    font-weight: 600;
    background: rgba(255,255,255,0.08);
    transition: all 0.3s ease;
}

.apk-secondary-btn:hover {
    background: rgba(255,255,255,0.18);
    color: #fff !important;
}

.apk-hero-stats {
    max-width: 860px;
}

.apk-stat-card {
    height: 100%;
    padding: 18px 16px;
    border-radius: 18px;
    background: rgba(9, 18, 44, 0.48);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
}

.apk-stat-card strong {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.apk-stat-card span {
    color: rgba(255,255,255,0.75);
    font-size: 13px;
}

.apk-hero-highlight-card {
    background: rgba(255,255,255,0.5);
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
    max-width: 420px;
    margin-left: auto;
}

.apk-hero-highlight-card img {
    width: 84px;
    height: 84px;
    object-fit: contain;
    margin-bottom: 18px;
}

.apk-hero-highlight-card h3 {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}

.apk-highlight-list {
    padding-left: 18px;
    margin: 0;
}

.apk-highlight-list li {
    margin-bottom: 12px;
    color: #000;
    line-height: 1.6;
}

.apk-why-section {
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
    padding: 60px 0;
}

.apk-why-card {
    height: 100%;
    background: #fff;
    border-radius: 22px;
    padding: 28px 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.apk-why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
}

.apk-why-card h4 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.apk-why-card p {
    color: #5b6474;
    line-height: 1.7;
    margin: 0;
}

.apk-section-subtitle {
    max-width: 720px;
    margin: 12px auto 0;
    color: #64748b;
    font-size: 18px;
    line-height: 1.7;
}

.apk-course-link {
    margin-top: 20px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #c35817;
}

.course-box:hover .apk-course-link {
    color: #fff;
}

.faculty-card {
    border-radius: 22px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.faculty-card h3 {
    font-size: 34px;
}

.faculty-speciality {
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.reviews-title {
    font-size: 48px;
}

.review-card {
    border-radius: 22px;
    border: 1px solid rgba(15, 23, 42, 0.04);
}

.review-text-box {
    height: 200px;
    overflow: hidden;
}

.apk-location-card {
    background: rgba(255,255,255,0.85);
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    height: 100%;
}

.apk-location-head {
    text-align: center;
    margin-bottom: 14px;
}

.apk-location-head h5 {
    font-size: 28px;
    font-weight: 700;
    color: #13233f;
    margin-bottom: 6px;
}

.apk-location-head p {
    margin: 0;
    color: #4f5d73;
    font-size: 15px;
}

.demo-cta-section {
    position: relative;
    overflow: hidden;
    padding: 110px 20px;
    background: linear-gradient(135deg, #102a5c 0%, #1e4ea1 100%);
}

.demo-cta-bg-animation {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.demo-cta-bg-animation::before,
.demo-cta-bg-animation::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.28;
    animation: apkDemoFloat 10s ease-in-out infinite;
}

.demo-cta-bg-animation::before {
    width: 420px;
    height: 420px;
    top: -120px;
    left: -80px;
    background: radial-gradient(circle, rgba(255, 214, 108, 0.8) 0%, rgba(255, 214, 108, 0) 68%);
}

.demo-cta-bg-animation::after {
    width: 380px;
    height: 380px;
    right: -80px;
    bottom: -110px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 70%);
    animation-delay: -4s;
}

.demo-cta-container,
.demo-floating-icons {
    position: relative;
    z-index: 2;
}

.demo-cta-content {
    text-align: center;
}

.demo-floating-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.demo-icon {
    position: absolute;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff2c2;
    font-size: 28px;
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 36px rgba(8, 18, 48, 0.18);
    animation: apkDemoBob 5s ease-in-out infinite;
}

.demo-icon.icon1 {
    top: 16%;
    left: 10%;
}

.demo-icon.icon2 {
    top: 24%;
    right: 11%;
    animation-delay: -1.5s;
}

.demo-icon.icon3 {
    bottom: 18%;
    left: 16%;
    animation-delay: -3s;
}

.demo-cta-heading {
    color: #fff;
    font-size: 54px;
}

.demo-cta-text {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
}

.demo-cta-btn {
    font-weight: 700;
    box-shadow: 0 18px 40px rgba(195, 88, 23, 0.28);
}

@keyframes apkDemoFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(30px, 25px, 0) scale(1.08);
    }
}

@keyframes apkDemoBob {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

.site-primary-footer-wrap,
.site-footer {
    margin-top: 0 !important;
}

.banner-overlay {
    background: linear-gradient(90deg, rgba(7, 11, 27, 0.78) 0%, rgba(7, 11, 27, 0.48) 40%, rgba(7, 11, 27, 0.2) 100%);
}

.banner-bottom.section {
    display: none;
}

/* =========================
   HOMEPAGE COURSES UPGRADE
========================= */
.apk-home-courses-section {
    background: linear-gradient(180deg, #eef4ff 0%, #f8fbff 100%);
    padding-top: 90px !important;
    padding-bottom: 90px !important;
}

.apk-courses-mini-kicker {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #e8efff;
    color: #274690;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.apk-home-courses-section .our-courses-heading h2 {
    color: #13233f;
    margin-bottom: 10px;
}

.apk-home-course-card {
    height: 100%;
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
}

.apk-home-course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.14);
}

.apk-home-course-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #eaf1ff, #f8fbff);
}

.apk-home-course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.apk-home-course-card:hover .apk-home-course-thumb img {
    transform: scale(1.05);
}

.apk-home-course-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.apk-home-course-tag {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 14px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #f4f7fd;
    color: #5a6d90;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.apk-home-course-title {
    font-size: 30px;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 14px;
}

.apk-home-course-title a {
    color: #13233f !important;
}

.apk-home-course-text {
    color: #5d6b82;
    line-height: 1.8;
    margin-bottom: 22px;
    flex: 1;
}

.apk-home-course-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: auto;
}

.apk-home-course-primary {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    background: #c35817;
    color: #fff !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.apk-home-course-primary:hover {
    background: #99400a;
    color: #fff !important;
    transform: translateY(-2px);
}

.apk-home-course-secondary {
    color: #13233f !important;
    font-weight: 700;
}

/* =========================
   UPSC MENTOR STRIP
========================= */
.apk-mentor-strip {
    padding: 36px 20px;
    background: linear-gradient(135deg, #0f1f46 0%, #1f3f8b 100%);
    position: relative;
    overflow: hidden;
}

.apk-mentor-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 196, 102, 0.18), transparent 26%),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.06), transparent 24%);
    pointer-events: none;
}

.apk-mentor-strip .container {
    position: relative;
    z-index: 2;
}

.apk-mentor-strip-inner {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.apk-mentor-strip-kicker {
    display: inline-block;
    margin-bottom: 14px;
    padding: 16px 36px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    color: #ffd76a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    animation: pulseFirst 2s infinite;
}

.apk-mentor-strip-title {
    color: #fff;
    font-size: 40px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 14px;
}

.apk-mentor-strip-text {
    color: rgba(255,255,255,0.85);
    font-size: 18px;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 800px;
}

@keyframes pulseFirst {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 106, 0.45);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 215, 106, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 106, 0);
    }
}

@media (max-width: 1199px) {
    .apk-hero-title {
        font-size: 48px;
    }

    .apk-hero-highlight-card {
        margin: 30px 0 0;
        max-width: 100%;
    }
}

@media (max-width: 991px) {
    .apk-home-hero {
        min-height: auto;
        padding: 100px 0 70px;
    }

    .apk-hero-title {
        font-size: 42px;
    }

    .apk-hero-text {
        font-size: 17px;
    }

    .reviews-title,
    .demo-cta-heading {
        font-size: 38px;
    }

    .apk-home-course-title {
        font-size: 26px;
    }

    .apk-mentor-strip-title {
        font-size: 32px;
    }

    .apk-mentor-strip-text {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .apk-home-hero {
        min-height: auto;
        height: auto;
        padding: 90px 0 40px;
    }

    .apk-home-hero .min-vh-100,
    .apk-hero-row {
        min-height: auto !important;
    }

    .apk-hero-content {
        padding-left: 18px;
        padding-right: 18px;
    }

    .apk-hero-kicker {
        font-size: 11px;
        line-height: 1.5;
        padding: 8px 14px;
        margin-bottom: 14px;
    }

    .apk-hero-title {
        font-size: 28px;
        line-height: 1.08;
        margin-bottom: 16px;
        max-width: 100%;
    }

    .apk-hero-text {
        font-size: 15px;
        line-height: 1.75;
        max-width: 100%;
        margin-bottom: 22px;
    }

    .apk-hero-actions {
        gap: 12px;
        margin-bottom: 22px;
        flex-direction: column;
        align-items: stretch;
    }

    .apk-primary-btn,
    .apk-secondary-btn,
    .banner-btn.demo-cta-btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 17px;
    }

    .apk-hero-stats {
        margin-top: 10px;
    }

    .apk-stat-card {
        padding: 14px 12px;
        border-radius: 14px;
    }

    .apk-stat-card strong {
        font-size: 15px;
    }

    .apk-stat-card span {
        font-size: 12px;
    }

    .apk-hero-highlight-card {
        display: none;
    }

    .banner-bg {
        background-position: center center;
    }

    .banner-overlay {
        background: linear-gradient(180deg, rgba(7, 11, 27, 0.35) 0%, rgba(7, 11, 27, 0.58) 35%, rgba(7, 11, 27, 0.82) 100%);
    }

    .reviews-title,
    .demo-cta-heading,
    .section-header h2,
    .our-courses-heading h2 {
        font-size: 32px !important;
    }

    .apk-location-head h5 {
        font-size: 22px;
    }

    .review-text-box {
        height: auto;
    }

    .demo-icon {
        display: none;
    }

    .apk-home-courses-section {
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }

    .apk-home-course-title {
        font-size: 24px;
    }

    .apk-home-course-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .apk-home-course-primary,
    .apk-home-course-secondary {
        text-align: center;
    }

    .apk-mentor-strip {
        padding: 28px 18px;
    }

    .apk-mentor-strip-title {
        font-size: 26px;
    }

    .apk-mentor-strip-text {
        font-size: 15px;
        line-height: 1.7;
    }
}
