:root {
    --blue: #062b63;
    --light-blue: #eef6ff;
    --accent: #0b5ed7;
    --text: #0b1f3a;
    --muted: #64748b;
    --border: #e5e7eb;
}

body {
    background: #ffffff;
}

.modern-container {
    width: 90%;
    max-width: 1180px;
    margin: auto;
}

/* Header */
.modern-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 999;
}

.modern-nav {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.modern-brand img {
    height: 60px;
}

.modern-brand h3{
    font-size:20px;
    font-weight:900;
    margin:0;
    line-height:1;
}

.logo-black{
    color:#111827;
}

.logo-blue{
    color:#175cff;
}

.modern-brand > div > span{
    font-size:10px;
    color:#64748b;
    display:block;
    margin-top:4px;
}

.modern-menu {
    display: flex;
    align-items: center;
    gap: 22px;
}

.modern-menu a {
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}

.modern-login {
    background: var(--blue);
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 8px;
}

/* Hero */
.hero-bg {
    min-height: 680px;
    background:
        linear-gradient(90deg,
            rgba(255,255,255,0.98) 0%,
            rgba(255,255,255,0.94) 28%,
            rgba(255,255,255,0.72) 48%,
            rgba(255,255,255,0.16) 72%,
            rgba(255,255,255,0.00) 100%
        ),
        url("../images/hero-building.jpg");
    background-size: cover;
    background-position: center right;
    display: flex;
    align-items: center;
    padding: 80px 0 120px;
}

.hero-left-content {
    max-width: 650px;
}

.hero-left-content h1 {
    font-size: 58px;
    line-height: 1.12;
    color: var(--blue);
    font-weight: 900;
    margin-bottom: 22px;
}

.hero-left-content h1 span {
    color: var(--accent);
}

.tricolor-line {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.orange-line,
.green-line {
    width: 38px;
    height: 4px;
    border-radius: 20px;
    display: inline-block;
}

.orange-line {
    background: #ff8a00;
}

.green-line {
    background: #138808;
}

.hero-left-content p {
    font-size: 18px;
    color: #10233f;
    line-height: 1.8;
    max-width: 620px;
}

.hero-buttons {
    margin-top: 28px;
    display: flex;
    gap: 15px;
}

.blue-btn,
.white-btn,
.apply-btn {
    display: inline-block;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 800;
}

.blue-btn {
    background: var(--blue);
    color: #ffffff;
    padding: 14px 24px;
}

.white-btn {
    background: #ffffff;
    color: var(--blue);
    padding: 14px 24px;
    border: 1px solid var(--blue);
}

.hero-feature-box {
    margin-top: 38px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 24px 28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.12);
    max-width: 720px;
}

.hero-feature-box div {
    text-align: center;
    border-right: 1px solid #e5e7eb;
}

.hero-feature-box div:last-child {
    border-right: none;
}

.hero-feature-box strong {
    display: block;
    color: var(--blue);
    font-size: 15px;
    margin-bottom: 5px;
}

.hero-feature-box span {
    color: var(--muted);
    font-size: 13px;
}

/* Search */
.search-box-section {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.search-box {
    background: var(--blue);
    padding: 16px;
    border-radius: 12px;
    display: grid;
    grid-template-columns: 1fr 180px 120px;
    gap: 10px;
    box-shadow: 0 16px 35px rgba(6,43,99,0.25);
}

.search-box input,
.search-box select {
    border: none;
    padding: 15px;
    border-radius: 8px;
}

.search-box button {
    background: var(--accent);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 800;
}

/* Sections */
.departments-section,
.latest-section,
.trust-section {
    padding: 55px 0;
}

.modern-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.modern-section-title h2,
.trust-section h2 {
    color: var(--blue);
    font-size: 26px;
}

.modern-section-title a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 800;
}

/* Departments */
.dept-carousel-wrapper {
    position: relative;
}

.dept-carousel {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 5px 18px;
    scrollbar-width: none;
}

.dept-carousel::-webkit-scrollbar {
    display: none;
}

.dept-card {
    min-width: 170px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 14px;
    text-align: center;
    font-weight: 800;
    color: var(--blue);
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
    transition: 0.3s ease;
}

.dept-card:hover {
    transform: translateY(-6px);
}

.dept-card img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    margin-bottom: 12px;
}

.dept-card strong {
    display: block;
    font-size: 15px;
    margin-bottom: 5px;
}

.dept-card span {
    font-size: 12px;
    color: var(--muted);
}

.dept-control {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--blue);
    color: #ffffff;
    font-size: 26px;
    cursor: pointer;
    z-index: 5;
}

.dept-control.prev {
    left: -18px;
}

.dept-control.next {
    right: -18px;
}

/* Internship Cards */
.modern-internship-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.modern-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.new-badge {
    background: #dcfce7;
    color: #166534;
    padding: 5px 10px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
}

.modern-card h3 {
    margin-top: 18px;
    color: var(--blue);
    font-size: 18px;
}

.modern-card p {
    color: var(--muted);
    margin: 8px 0 14px;
}

.modern-card ul {
    list-style: none;
    margin-bottom: 18px;
}

.modern-card li {
    font-size: 13px;
    color: #334155;
    margin-bottom: 8px;
}

.apply-btn {
    background: var(--blue);
    color: #ffffff;
    width: 100%;
    text-align: center;
    padding: 12px;
}

/* Alert */
.alert-banner {
    padding: 25px 0;
}

.alert-flex {
    background: #eaf4ff;
    border-radius: 16px;
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.alert-flex h3 {
    color: var(--blue);
    margin-bottom: 8px;
}

.alert-flex p {
    color: var(--muted);
}

/* Trust */
.trust-grid {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.trust-grid div {
    background: #ffffff;
    border: 1px solid var(--border);
    padding: 22px;
    border-radius: 14px;
    color: var(--muted);
}

.trust-grid strong {
    color: var(--blue);
}

/* Footer */
.modern-footer {
    background: var(--blue);
    color: #ffffff;
    padding: 24px 0;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-flex a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 20px;
    font-size: 13px;
}

/* Mobile */
@media (max-width: 900px) {
    .modern-nav {
        height: auto;
        padding: 14px 0;
        flex-direction: column;
        gap: 15px;
    }

    .modern-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .hero-bg {
        min-height: auto;
        padding: 70px 0 100px;
        background:
            linear-gradient(90deg,
                rgba(255,255,255,0.96) 0%,
                rgba(255,255,255,0.92) 55%,
                rgba(255,255,255,0.65) 100%
            ),
            url("../images/hero-building.jpg");
        background-size: cover;
        background-position: center right;
    }

    .hero-left-content h1 {
        font-size: 38px;
    }

    .hero-feature-box {
        grid-template-columns: 1fr 1fr;
    }

    .hero-feature-box div {
        border-right: none;
    }

    .search-box,
    .alert-flex,
    .footer-flex {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 18px;
    }

    .dept-grid,
    .modern-internship-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }
}

/* GLOBAL BUTTON OVERRIDE */

.btn,
.btn-primary,
.btn-outline,
.apply-btn,
.blue-btn,
.white-btn {
    border-radius: 10px !important;
    font-weight: 700 !important;
    transition: 0.3s ease;
}

/* Primary Buttons */
.btn-primary,
.blue-btn,
.apply-btn {
    background: #062b63 !important;
    color: #ffffff !important;
    border: none !important;
}

/* Outline Buttons */
.btn-outline,
.white-btn {
    background: #ffffff !important;
    color: #062b63 !important;
    border: 1px solid #062b63 !important;
}

/* Hover */
.btn-primary:hover,
.blue-btn:hover,
.apply-btn:hover {
    background: #0b5ed7 !important;
}

.btn-outline:hover,
.white-btn:hover {
    background: #062b63 !important;
    color: #ffffff !important;
}

/* Remove Orange Everywhere */
.navbar a:hover,
.modern-menu a:hover {
    color: #0b5ed7 !important;
}

.tag,
.new-badge,
.status-badge {
    background: #eaf4ff !important;
    color: #062b63 !important;
}

/* Internship Cards */
.internship-card,
.modern-card {
    border: 1px solid #dbeafe !important;
}

/* Locked Premium Box */
.locked-box {
    border: 2px dashed #062b63 !important;
    background: #f8fbff !important;
}

/* Auth Focus */
.auth-box input:focus,
.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
    border-color: #0b5ed7 !important;
}

/* Admin Hover */
.admin-sidebar a:hover {
    background: #0b5ed7 !important;
}

.plans-page {
    background: #ffffff;
    padding: 50px 0 70px;
}

.verify-banner {
    background: #eaf4ff;
    border-radius: 16px;
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 45px;
}

.verify-banner h3 {
    color: var(--blue);
    font-size: 22px;
    margin-bottom: 8px;
}

.verify-banner p {
    color: var(--muted);
}

.plans-title {
    text-align: center;
    margin-bottom: 35px;
}

.plans-title h1 {
    color: var(--blue);
    font-size: 38px;
    margin-bottom: 10px;
}

.plans-title p {
    color: var(--muted);
}

.plans-line {
    width: 55px;
    height: 4px;
    background: var(--accent);
    margin: 14px auto 0;
    border-radius: 20px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

.plan-card {
    background: #f8fbff;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    padding: 36px 32px;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.plan-card h3 {
    color: var(--blue);
    text-align: center;
    font-size: 18px;
    margin-bottom: 10px;
}

.plan-duration {
    text-align: center;
    color: var(--blue);
    font-weight: 700;
    margin-bottom: 22px;
}

.plan-card h2 {
    text-align: center;
    font-size: 44px;
    color: var(--accent);
    margin-bottom: 25px;
}

.plan-card h2 span {
    font-size: 15px;
    color: var(--muted);
}

.plan-card ul {
    list-style: none;
    margin: 20px 0;
    flex: 1;
}

.plan-card li {
    color: #334155;
    margin-bottom: 16px;
    font-size: 15px;
}

.plan-card li::before {
    content: "✓";
    color: #16a34a;
    font-weight: 900;
    margin-right: 12px;
}

.plan-btn {
    display: block;
    text-align: center;
    padding: 15px;
    border-radius: 9px;
    font-weight: 800;
    text-decoration: none;
}

.plan-btn.outline {
    border: 2px solid var(--accent);
    color: var(--accent);
    background: #ffffff;
}

.plan-btn.filled {
    background: var(--accent);
    color: #ffffff;
}

.plan-btn.green-outline {
    border: 2px solid #16a34a;
    color: #16a34a;
    background: #ffffff;
}

.plan-card.popular {
    border: 2px solid var(--accent);
    background: #ffffff;
    transform: translateY(-10px);
}

.popular-label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--accent);
    color: #ffffff;
    text-align: center;
    padding: 10px;
    border-radius: 16px 16px 0 0;
    font-size: 13px;
    font-weight: 900;
}

.plan-card.popular h3 {
    margin-top: 38px;
}

.save-badge {
    text-align: center;
    background: #dcfce7;
    color: #166534;
    padding: 2px 4px;
    border-radius: 20px;
    width: fit-content;
    margin: -10px auto 20px;
    font-size: 13px;
    font-weight: 400;
}

.plan-card.plus {
    border-color: #bbf7d0;
}

.plans-note {
    text-align: center;
    color: var(--blue);
    font-weight: 700;
    margin: 28px 0;
}

.unlock-banner {
    background: var(--blue);
    color: #ffffff;
    padding: 38px 42px;
    border-radius: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.unlock-banner h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.unlock-banner p {
    color: #dbeafe;
}

@media (max-width: 900px) {
    .verify-banner,
    .unlock-banner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .plan-card.popular {
        transform: none;
    }
}

/* Dashboard Fix */
.modern-page {
    min-height: calc(100vh - 160px);
    padding: 60px 0;
    background: #f8fbff;
}

.modern-white-box {
    background: #ffffff;
    border-radius: 18px;
    padding: 35px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
    margin-bottom: 25px;
}

.modern-heading {
    color: #062b63;
    font-size: 34px;
    margin-bottom: 12px;
}

.modern-text {
    color: #64748b;
    line-height: 1.8;
}

.dashboard-membership-box {
    background: #eef4fb;
    border-radius: 18px;
    padding: 28px;
    margin: 20px 0 25px;
}

.dashboard-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.about-hero {
    min-height: 430px;
    background:
        linear-gradient(90deg,
            rgba(255,255,255,0.98) 0%,
            rgba(255,255,255,0.92) 40%,
            rgba(255,255,255,0.35) 70%,
            rgba(255,255,255,0.05) 100%
        ),
        url("../images/hero-building.jpg");
    background-size: cover;
    background-position: center right;
    display: flex;
    align-items: center;
}

.about-left {
    max-width: 620px;
}

.page-label {
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
}

.about-left h1 {
    font-size: 58px;
    color: var(--blue);
    margin: 18px 0;
    font-weight: 900;
}

.about-left p {
    color: #10233f;
    line-height: 1.8;
    font-size: 17px;
}

.mission-box {
    margin-top: 28px;
    background: rgba(255,255,255,0.88);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    gap: 18px;
    align-items: center;
    max-width: 470px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.mission-icon {
    font-size: 36px;
}

.mission-box h3 {
    color: var(--blue);
    margin-bottom: 8px;
}

.about-main {
    background: #ffffff;
    padding: 55px 0;
}

.about-two-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 45px;
    margin-bottom: 45px;
}

.about-text-box,
.student-box {
    background: #ffffff;
    border-radius: 18px;
    padding: 34px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.about-text-box h2,
.student-box h2,
.vision-box h2 {
    color: var(--blue);
    font-size: 30px;
    margin-bottom: 18px;
}

.about-text-box p,
.student-box p,
.vision-box p {
    color: #334155;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-list-grid {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.about-list-grid span {
    font-weight: 800;
    color: var(--text);
}

.about-list-grid span::before {
    content: "☑";
    color: var(--accent);
    margin-right: 10px;
}

.student-box ul {
    list-style: none;
    margin-top: 20px;
}

.student-box li {
    margin-bottom: 18px;
    font-weight: 800;
    color: var(--text);
}

.why-title {
    text-align: center;
    margin: 35px 0 25px;
}

.why-title h2 {
    color: var(--blue);
    font-size: 30px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin-bottom: 45px;
}

.why-card {
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 18px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.05);
}

.why-card div {
    font-size: 36px;
    margin-bottom: 14px;
}

.why-card h3 {
    color: var(--blue);
    margin-bottom: 10px;
}

.why-card p {
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
}

.vision-box {
    background: #eaf4ff;
    border-radius: 18px;
    padding: 40px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 35px;
    align-items: center;
    margin-bottom: 35px;
}

.vision-icon{
    width:300px;
    height:300px;
    min-width:120px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#eef4ff;
}

.vision-icon i{
    font-size:64px;
    color:#175cff;
}

.vision-box strong {
    color: var(--accent);
    font-size: 18px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.stats-grid div {
    text-align: center;
    border-right: 1px solid var(--border);
}

.stats-grid div:last-child {
    border-right: none;
}

.stats-grid strong {
    display: block;
    color: var(--blue);
    font-size: 34px;
    margin-bottom: 6px;
}

.stats-grid span {
    color: var(--muted);
    font-weight: 700;
}

@media (max-width: 900px) {
    .about-left h1 {
        font-size: 42px;
    }

    .about-two-grid,
    .vision-box,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .about-list-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid div {
        border-right: none;
    }
}

.contact-hero {
    min-height: 430px;
    background:
        linear-gradient(90deg,
            rgba(255,255,255,0.98) 0%,
            rgba(255,255,255,0.92) 42%,
            rgba(255,255,255,0.35) 72%,
            rgba(255,255,255,0.05) 100%
        ),
        url("../images/hero-building.jpg");
    background-size: cover;
    background-position: center right;
    display: flex;
    align-items: center;
}

.contact-left {
    max-width: 640px;
}

.contact-left h1 {
    font-size: 58px;
    color: var(--blue);
    margin: 18px 0;
    font-weight: 900;
}

.contact-left p {
    color: #10233f;
    line-height: 1.8;
    font-size: 17px;
}

.contact-feature-row {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.contact-feature-row div {
    background: rgba(255,255,255,0.9);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.05);
}

.contact-feature-row strong {
    color: var(--blue);
    display: block;
    margin-bottom: 6px;
}

.contact-feature-row span {
    color: var(--muted);
    font-size: 13px;
}

.contact-main {
    background: #ffffff;
    padding: 55px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    margin-bottom: 45px;
}

.contact-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 34px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-card h2,
.contact-purpose h2 {
    color: var(--blue);
    font-size: 28px;
    margin-bottom: 22px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-item div {
    font-size: 26px;
    width: 45px;
}

.contact-info-item p {
    color: #334155;
    line-height: 1.6;
}

.contact-info-item strong {
    color: var(--blue);
}

.contact-info-item span {
    color: var(--muted);
    font-size: 13px;
}

.contact-form {
    margin-top: 20px;
}

.contact-form label {
    display: block;
    color: var(--text);
    font-weight: 800;
    margin: 14px 0 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px;
    font-family: Arial, sans-serif;
    font-size: 15px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.full-width {
    width: 100%;
    border: none;
    margin-top: 18px;
    text-align: center;
    cursor: pointer;
}

.form-note {
    color: var(--muted);
    font-size: 13px;
    margin-top: 12px;
}

.contact-purpose {
    text-align: center;
    margin-bottom: 40px;
}

.purpose-grid {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.purpose-grid div {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 16px;
    color: var(--muted);
    line-height: 1.6;
    box-shadow: 0 10px 26px rgba(0,0,0,0.05);
}

.purpose-grid strong {
    color: var(--blue);
}

.contact-bottom-note {
    background: #f8fbff;
    border-radius: 18px;
    padding: 28px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.contact-bottom-note h3 {
    color: var(--blue);
    margin-bottom: 8px;
}

.contact-bottom-note p {
    color: var(--muted);
}

@media (max-width: 900px) {
    .contact-left h1 {
        font-size: 42px;
    }

    .contact-grid,
    .contact-feature-row,
    .purpose-grid,
    .contact-bottom-note {
        grid-template-columns: 1fr;
    }
}

.mobile-menu-btn {
    display: none;
    background: #062b63;
    color: #ffffff;
    border: none;
    font-size: 26px;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
}

@media (max-width: 900px) {
    .modern-nav {
        flex-direction: row !important;
        height: 76px !important;
    }

    .modern-menu {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        width: 100%;
        background: #ffffff;
        padding: 20px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.12);
        flex-direction: column;
        align-items: flex-start;
        z-index: 999;
    }

    .modern-menu.active {
        display: flex;
    }

    .modern-menu a {
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid #e5e7eb;
    }

    .modern-login {
        text-align: center;
        border-bottom: none !important;
        margin-top: 8px;
    }

    .mobile-menu-btn {
        display: block;
    }
}

.internship-thumb {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
}

.details-banner-image {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 28px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

.mission-icon,
.vision-icon,
.why-card div,
.student-box ul li i{
    display:flex;
    align-items:center;
    justify-content:center;
}

.mission-icon i{
    font-size:38px;
    color:#175cff;
}

.vision-icon i{
    font-size:90px !important;
    color:#175cff;
}

.vision-icon{
    width:300px;
    height:300px;
    min-width:300px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#eef4ff;
}

.why-card div i{
    font-size:38px;
    color:#175cff;
}

.student-box ul li i{
    width:38px;
    height:38px;
    border-radius:50%;
    background:#eef4ff;
    color:#175cff;
    font-size:20px;
    margin-right:12px;
}

.student-box ul li{
    display:flex;
    align-items:center;
    margin-bottom:18px;
    font-weight:700;
}
@media (max-width: 900px) {
    .details-banner-image {
        height: 220px;
    }
}

.plan-top-icon i{
    font-size:34px;
    color:#175cff;
}

.plan-top-icon.green i{
    color:#0b9b42;
}

.plan-top-icon.blue i{
    color:#175cff;
}

.best-saving i,
.limited-box i{
    margin-right:8px;
}

.trust-row div i{
    font-size:38px;
    color:#175cff;
    margin-bottom:16px;
    display:block;
}

.hero-feature-box div i{
    width:72px;
    height:72px;
    border-radius:20px;
    background:#f4f7ff;

    display:flex;
    align-items:center;
    justify-content:center;

    margin:0 auto 18px;

    color:#175cff;

    font-size:42px !important;
    line-height:1 !important;
}

.search-input-box{
    position:relative;
    flex:1;
}

.search-input-box i{
    position:absolute;
    left:18px;
    top:50%;
    transform:translateY(-50%);
    color:#64748b;
    font-size:20px;
}

.search-input-box input{
    padding-left:50px !important;
}

.modern-card ul li i{
    width:24px;
    color:#175cff;
    margin-right:10px;
    font-size:20px;
}

.trust-grid div i{
    width:72px;
    height:72px;
    border-radius:20px;
    background:#f4f7ff;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#175cff;
    font-size:34px;
    margin:0 auto 18px;
}

.trust-grid div span{
    display:block;
    margin-top:10px;
    color:#64748b;
    line-height:1.7;
}

.hero-feature-box strong{
    font-size:16px;
    font-weight:800;
}

.hero-feature-box span{
    font-size:13px;
    line-height:1.6;
}

.trust-grid div{
    text-align:center;
}

.trust-grid strong{
    display:block;
    font-size:18px;
    margin-bottom:10px;
}

/* =========================
   PAYMENT PAGE
========================= */

.payment-modern-page{
    padding:90px 0;
    background:#f5f8ff;
}

.payment-card-modern{
    max-width:720px;
    margin:auto;
    background:#fff;
    border-radius:34px;
    padding:60px;
    text-align:center;
    border:1px solid #e5e7eb;
    box-shadow:0 10px 40px rgba(0,0,0,0.04);
}

.payment-icon{
    width:95px;
    height:95px;
    border-radius:28px;
    background:#eef4ff;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 28px;
}

.payment-icon i{
    font-size:48px;
    color:#175cff;
}

.payment-badge{
    display:inline-block;
    background:#eef4ff;
    color:#175cff;
    font-size:13px;
    font-weight:800;
    padding:10px 18px;
    border-radius:40px;
    margin-bottom:25px;
    letter-spacing:1px;
}

.payment-card-modern h1{
    font-size:52px;
    line-height:1.1;
    color:#071437;
    margin-bottom:18px;
    font-weight:900;
}

.payment-subtitle{
    color:#64748b;
    font-size:18px;
    margin-bottom:35px;
}

.selected-plan-box{
    background:#f8fbff;
    border:2px solid #dbe7ff;
    border-radius:28px;
    padding:38px;
    margin-bottom:35px;
}

.selected-plan-box h2{
    font-size:36px;
    color:#071437;
    margin-bottom:20px;
    font-weight:800;
}

.payment-price{
    font-size:72px;
    font-weight:900;
    color:#175cff;
    line-height:1;
    margin-bottom:16px;
}

.payment-duration{
    color:#64748b;
    font-size:18px;
    font-weight:600;
}

.payment-features{
    margin-bottom:38px;
}

.payment-features div{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    margin-bottom:16px;
    font-size:17px;
    font-weight:600;
    color:#071437;
}

.payment-features i{
    color:#0b9b42;
    font-size:22px;
}

.pay-now-btn{
    width:100%;
    border:none;
    background:#175cff;
    color:#fff;
    padding:22px;
    border-radius:18px;
    font-size:20px;
    font-weight:800;
    cursor:pointer;
    transition:.3s;
}

.pay-now-btn:hover{
    background:#0f4be1;
    transform:translateY(-2px);
}

.secure-note{
    margin-top:24px;
    color:#64748b;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    font-size:15px;
}

.secure-note i{
    color:#175cff;
    font-size:20px;
}

@media(max-width:768px){

    .payment-modern-page{
        padding:50px 0;
    }

    .payment-card-modern{
        padding:30px 22px;
        border-radius:24px;
    }

    .payment-card-modern h1{
        font-size:34px;
    }

    .payment-price{
        font-size:52px;
    }

    .selected-plan-box{
        padding:28px 18px;
    }

    .selected-plan-box h2{
        font-size:28px;
    }

}

.contact-icon{
    width:58px;
    height:58px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.contact-icon i{
    font-size:26px;
}

.blue{
    background:#eef4ff;
    color:#175cff;
}

.sky{
    background:#eef8ff;
    color:#0ea5e9;
}

.pink{
    background:#fff0f6;
    color:#ec4899;
}

.red{
    background:#fff1f2;
    color:#ef4444;
}

.green{
    background:#ecfdf5;
    color:#10b981;
}

.lightgreen{
    background:#f0fdf4;
    color:#16a34a;
}

.purple{
    background:#f5f3ff;
    color:#8b5cf6;
}

.contact-feature-row div i{
    font-size:28px;
    color:#175cff;
    margin-bottom:10px;
    display:block;
}

.purpose-grid div i{
    width:60px;
    height:60px;
    border-radius:50%;
    background:#eef4ff;
    color:#175cff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    margin:0 auto 15px;
}

.form-note i{
    color:#175cff;
    margin-right:8px;
}

.contact-form-title{
    display:flex;
    align-items:flex-start;
    gap:16px;
    margin-bottom:25px;
}

.contact-title-icon{
    width:58px;
    height:58px;
    border-radius:16px;
    background:#eef4ff;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.contact-title-icon i{
    font-size:28px;
    color:#175cff;
}

.contact-form-title h2{
    margin:0 0 5px;
}

.contact-form-title p{
    margin:0;
    color:#64748b;
}

.contact-bottom-card{
    display:flex;
    align-items:center;
    gap:18px;
}

.bottom-icon{
    width:70px;
    height:70px;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.bottom-icon i{
    font-size:34px;
}

.bottom-icon.orange{
    background:#fff7ed;
    color:#f97316;
}

.bottom-icon.blue{
    background:#eef4ff;
    color:#175cff;
}

.alert-flex{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;
}

.alert-left{
    display:flex;
    align-items:center;
    gap:20px;
}

.alert-icon{
    width:90px;
    height:90px;
    border-radius:20px;
    background:#eef4ff;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.alert-icon i{
    font-size:48px;
    color:#175cff;
}

.alert-left h3{
    margin-bottom:8px;
}

.alert-left p{
    color:#64748b;
    line-height:1.7;
}

@media(max-width:768px){

    .alert-flex{
        flex-direction:column;
        text-align:center;
    }

    .alert-left{
        flex-direction:column;
    }

    .alert-icon{
        width:75px;
        height:75px;
    }

    .alert-icon i{
        font-size:40px;
    }

}

.pricing-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
    align-items:stretch;
}

.pricing-card{
    padding:28px;
    border-radius:24px;
}

.pricing-list li{
    margin-bottom:12px;
    font-size:15px;
}

.pricing-price{
    font-size:58px;
    line-height:1;
}

.plan-top-icon{
    width:80px;
    height:80px;
}

.plan-top-icon i{
    font-size:38px;
}

.trust-row{
    margin-top:60px;
    padding:60px;
    border-radius:24px;
    background:#fff;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.trust-row i{
    font-size:48px;
    color:#175cff;
    margin-bottom:12px;
}

.pricing-modern-page{
    padding:50px 0 60px;
}

.pricing-header{
    margin-bottom:40px;
}

.pricing-header h1{
    font-size:68px;
    line-height:1.1;
}
.floating-cap,
.floating-bank{
    position:absolute;
    font-size:60px;
    color:#dbe7ff;
}

.floating-cap{
    left:120px;
    top:120px;
}

.floating-bank{
    right:120px;
    top:120px;
}

/* Equal small pricing cards */
.pricing-grid{
    align-items: stretch !important;
}

.pricing-card{
    min-height: 620px !important;
    height:auto !important;
    max-height:none !important;
}


.pricing-card h3{
    font-size: 24px !important;
}

.pricing-price{
    font-size: 46px !important;
}

.plan-top-icon{
    width: 64px !important;
    height: 64px !important;
    margin-bottom: 16px !important;
}

.plan-top-icon i{
    font-size: 32px !important;
}

.pricing-list{
    flex: 1 !important;
    margin-top: 12px !important;
}

.pricing-list li{
    font-size: 13px !important;
    margin-bottom: 9px !important;
}

.miss-box{
    margin-top: 10px !important;
    padding-top: 10px !important;
}

.pricing-btn{
    margin-top: auto !important;
    padding: 14px !important;
}

.limited-box{
    margin-top: 10px !important;
    padding: 10px !important;
}

@media(max-width:768px){
    .pricing-card{
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }
}

/* =====================
   Pricing Page Compact
===================== */

.pricing-modern-page{
    padding:40px 0 50px !important;
}

.pricing-header{
    margin-bottom:30px !important;
    text-align:center;
}

.pricing-label{
    font-size:14px !important;
    font-weight:700;
    letter-spacing:1px;
}

.pricing-header h1{
    font-size:54px !important;
    line-height:1.1 !important;
    margin:12px 0 !important;
    font-weight:900 !important;
}

.pricing-header p{
    font-size:20px !important;
    color:#64748b;
    max-width:800px;
    margin:auto;
}

/* Cards */
.pricing-card{
    padding:22px !important;
}

.pricing-card h3{
    font-size:20px !important;
    margin-bottom:4px !important;
}

.plan-subtitle{
    font-size:14px !important;
}

.pricing-price{
    font-size:42px !important;
    margin:12px 0 !important;
}

.pricing-price small{
    font-size:18px !important;
}

.old-price{
    font-size:16px !important;
}

.discount-badge{
    font-size:13px !important;
    padding:5px 10px !important;
}

/* Included section */
.plan-section-title{
    font-size:18px !important;
    margin-bottom:12px !important;
}

.pricing-list li{
    font-size:13px !important;
    margin-bottom:8px !important;
    line-height:1.4;
}

/* Buttons */
.pricing-btn{
    height:48px !important;
    font-size:16px !important;
    border-radius:12px !important;
}

/* Limited Offer Box */
.limited-box{
    padding:10px !important;
    font-size:13px !important;
}

/* Bottom Trust Section */
.trust-row{
    margin-top:150px !important;
    padding:22px !important;
}

.trust-row i{
    font-size:38px !important;
}

.trust-row h4{
    font-size:18px !important;
}

.trust-row p{
    font-size:13px !important;
}

/* Floating icons */
.floating-cap,
.floating-bank{
    font-size:45px !important;
}

/* Mobile pricing fix */
@media(max-width:768px){

    .pricing-modern-page{
        padding:35px 0 !important;
    }

    .pricing-header h1{
        font-size:34px !important;
    }

    .pricing-header p{
        font-size:15px !important;
    }

    .pricing-grid{
        grid-template-columns:1fr !important;
        gap:22px !important;
    }

    .pricing-card{
        height:auto !important;
        min-height:auto !important;
        max-height:none !important;
        padding:24px 20px !important;
    }

    .pricing-card h3{
        font-size:26px !important;
    }

    .pricing-price{
        font-size:44px !important;
    }

    .pricing-list{
        flex:unset !important;
    }

    .pricing-btn{
        margin-top:20px !important;
    }

    .premium-card{
        transform:none !important;
    }

    .trust-row{
        grid-template-columns:1fr !important;
    }
}
.pricing-link{
    display:flex;
    align-items:center;
    gap:6px;
}

.new-badge-menu{
    background:#16a34a;
    color:#ffffff;
    font-size:11px;
    padding:3px 6px;
    border-radius:5px;
    font-weight:800;
}

.social-contact-buttons{
    display:flex;
    flex-direction:column;
    gap:15px;
    margin-top:25px;
}

.social-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    padding:15px;
    border-radius:14px;
    text-decoration:none;
    font-weight:700;
    color:#fff;
    transition:.3s;
}

.social-btn i{
    font-size:22px;
}

.instagram-btn{
    background:#E1306C;
}

.telegram-btn{
    background:#229ED9;
}

.whatsapp-btn{
    background:#25D366;
}

.social-btn:hover{
    transform:translateY(-2px);
    opacity:.95;
}

@media (max-width:768px){

.search-box{
    width:100%;
    display:flex;
    flex-direction:column;
    gap:14px;
    padding:20px;
    margin:25px auto;
    background:#fff;
    border-radius:18px;
    box-shadow:0 8px 30px rgba(0,0,0,.08);
}

.search-box input,
.search-box select{
    width:100%;
    height:60px;
    padding:0 18px;
    border:1px solid #dfe3ea;
    border-radius:14px;
    font-size:15px;
}

.search-box button{
    width:100%;
    height:60px;
    border:none;
    border-radius:14px;
    font-size:16px;
    font-weight:700;
    background:#0b57d0;
    color:#fff;
}

}

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

.pricing-list li{
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin-bottom:12px;
    line-height:1.5;
    font-size:15px;
}

.pricing-list li i.ri-checkbox-circle-fill{
    color:#175cff;
    font-size:20px;
    flex-shrink:0;
    margin-top:2px;
}

.miss-box ul{
    list-style:none;
    padding:0;
}

.miss-box ul li{
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin-bottom:10px;
}

.miss-box ul li i{
    color:#ff4d4f;
    font-size:20px;
    flex-shrink:0;
    margin-top:2px;
}


@media(max-width:1100px){
    .pricing-grid{
        grid-template-columns:1fr !important;
        max-width:520px;
        margin:auto;
    }

    .pricing-card{
        min-height:auto !important;
    }
}

.pricing-list li{
    font-size:12px !important;
    margin-bottom:6px !important;
    line-height:1.3 !important;
}

.pricing-list li i{
    font-size:16px !important;
}

.pricing-card h3{
    font-size:18px !important;
}

.pricing-price{
    font-size:36px !important;
}

.plan-subtitle{
    font-size:12px !important;
}

.plan-top-icon{
    width:56px !important;
    height:56px !important;
}

.plan-top-icon i{
    font-size:26px !important;
}

/* Latest requested UI refinements - mobile internship compact cards + smaller course cards */
@media (max-width: 768px) {
    .modern-page {
        padding-top: 28px !important;
    }

    .modern-section-title {
        margin-bottom: 16px !important;
    }

    .modern-section-title h2 {
        font-size: 24px !important;
    }

    .search-box {
        margin-bottom: 18px !important;
        gap: 10px !important;
    }

    .modern-internship-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .modern-card {
        display: grid !important;
        grid-template-columns: 112px 1fr !important;
        column-gap: 14px !important;
        align-items: center !important;
        padding: 13px !important;
        border-radius: 16px !important;
        min-height: 168px !important;
        box-shadow: 0 8px 24px rgba(15,35,90,.07) !important;
    }

    .modern-card .internship-thumb {
        grid-row: 1 / span 6 !important;
        width: 112px !important;
        height: 142px !important;
        object-fit: cover !important;
        border-radius: 13px !important;
        margin: 0 !important;
    }

    .modern-card .new-badge {
        width: fit-content !important;
        display: inline-flex !important;
        align-items: center !important;
        padding: 4px 9px !important;
        font-size: 10px !important;
        line-height: 1 !important;
        margin: 0 5px 4px 0 !important;
    }

    .modern-card h3 {
        margin: 3px 0 5px !important;
        font-size: 16px !important;
        line-height: 1.22 !important;
        color: #062b63 !important;
    }

    .modern-card p {
        margin: 0 0 6px !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
    }

    .modern-card ul {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 5px 8px !important;
        margin: 0 0 9px !important;
    }

    .modern-card li {
        margin: 0 !important;
        font-size: 11px !important;
        line-height: 1.25 !important;
    }

    .modern-card li strong {
        display: none !important;
    }

    .modern-card .apply-btn {
        padding: 10px 12px !important;
        border-radius: 11px !important;
        font-size: 13px !important;
        width: 100% !important;
    }
}

/* Smaller course cards without touching payment/course logic */
.courses-grid-pro {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
    gap: 18px !important;
}

.course-card-pro {
    border-radius: 18px !important;
}

.course-thumb-wrap {
    height: 145px !important;
}

.course-card-content {
    padding: 16px !important;
}

.course-card-content h3 {
    font-size: 18px !important;
    margin-bottom: 7px !important;
}

.course-card-content p {
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
}

.course-info-row {
    gap: 10px !important;
    margin-bottom: 12px !important;
}

.course-info-row > div {
    padding: 9px !important;
    border-radius: 11px !important;
}

.course-info-row strong {
    font-size: 17px !important;
}

.course-btn {
    padding: 11px 14px !important;
    border-radius: 11px !important;
    font-size: 14px !important;
}

@media (max-width: 768px) {
    .courses-modern-page {
        padding: 34px 0 !important;
    }

    .courses-hero-card {
        padding: 28px 20px !important;
        border-radius: 20px !important;
    }

    .courses-hero-card h1 {
        font-size: 28px !important;
    }

    .courses-hero-card p {
        font-size: 14px !important;
        line-height: 1.55 !important;
    }

    .courses-grid-pro {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        margin-top: 18px !important;
    }

    .course-thumb-wrap {
        height: 105px !important;
    }

    .course-card-content {
        padding: 12px !important;
    }

    .course-card-content h3 {
        font-size: 15px !important;
        line-height: 1.25 !important;
    }

    .course-card-content p {
        display: none !important;
    }

    .course-info-row {
        display: block !important;
    }

    .course-info-row > div {
        margin-bottom: 7px !important;
    }

    .course-info-row small {
        font-size: 10px !important;
    }

    .course-info-row strong,
    .course-info-row span {
        font-size: 13px !important;
    }

    .course-btn {
        padding: 9px 10px !important;
        font-size: 12px !important;
    }
}

/* ==========================================
   Internship Card UI Fix
   Category + Paid/Unpaid Badges
   Mobile compact card like reference
========================================== */

.rb-internship-card{
    position: relative;
    overflow: hidden;
}

.rb-card-image{
    width: 100%;
}

.rb-card-content{
    width: 100%;
}

.rb-card-top{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.rb-badge-row{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: nowrap;
}

.rb-days-badge,
.rb-category-badge,
.rb-type-badge{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.rb-days-badge{
    background: #fff1f2;
    color: #e11d48;
}

.rb-category-badge{
    background: #eef6ff;
    color: #082f63;
}

.rb-type-badge.paid{
    background: #dcfce7;
    color: #166534;
}

.rb-type-badge.unpaid{
    background: #fee2e2;
    color: #991b1b;
}

.rb-type-badge.other{
    background: #f1f5f9;
    color: #334155;
}

.rb-summary-line{
    color: #334155;
    font-size: 14px;
    margin: 6px 0 14px;
}

.rb-info-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

.rb-info-grid li{
    display: flex;
    align-items: center;
    gap: 7px;
    color: #334155;
    font-size: 13px;
    line-height: 1.35;
    margin: 0;
}

.rb-info-grid li span{
    flex-shrink: 0;
}

.rb-premium-note{
    margin: 12px 0 0;
    text-align: center;
    color: #64748b;
    font-size: 13px;
}

/* Desktop polish */
@media (min-width: 769px){
    .rb-internship-card .internship-thumb{
        height: 150px;
        object-fit: cover;
        border-radius: 12px;
        margin-bottom: 16px;
    }

    .rb-internship-card .apply-btn{
        border-radius: 12px;
        font-weight: 800;
    }
}

/* Mobile exact compact style */
@media (max-width: 768px){

    .modern-internship-grid{
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .rb-internship-card{
        display: grid !important;
        grid-template-columns: 118px 1fr !important;
        gap: 14px !important;
        align-items: center !important;
        padding: 13px !important;
        min-height: 178px !important;
        border-radius: 18px !important;
        border: 1px solid #e5eefb !important;
        box-shadow: 0 8px 25px rgba(15, 35, 90, 0.07) !important;
        background: #ffffff !important;
    }

    .rb-internship-card .rb-card-image{
        grid-row: 1 / span 1 !important;
        width: 118px !important;
    }

    .rb-internship-card .internship-thumb{
        width: 118px !important;
        height: 145px !important;
        object-fit: cover !important;
        border-radius: 14px !important;
        margin: 0 !important;
    }

    .rb-internship-card .rb-card-content{
        min-width: 0 !important;
    }

    .rb-internship-card .rb-card-top{
        align-items: flex-start !important;
        gap: 6px !important;
        margin-bottom: 7px !important;
    }

    .rb-internship-card .rb-days-badge{
        padding: 6px 9px !important;
        font-size: 10px !important;
    }

    .rb-internship-card .rb-badge-row{
        gap: 5px !important;
        flex-shrink: 0 !important;
    }

    .rb-internship-card .rb-category-badge,
    .rb-internship-card .rb-type-badge{
        padding: 6px 9px !important;
        font-size: 10px !important;
        min-height: 24px !important;
    }

    .rb-internship-card h3{
        margin: 0 0 5px !important;
        color: #062b63 !important;
        font-size: 16px !important;
        line-height: 1.22 !important;
        font-weight: 900 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .rb-internship-card .rb-summary-line{
        margin: 0 0 8px !important;
        color: #334155 !important;
        font-size: 12px !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .rb-internship-card .rb-info-grid{
        grid-template-columns: 1fr 1fr !important;
        gap: 5px 8px !important;
        margin: 0 0 9px !important;
    }

    .rb-internship-card .rb-info-grid li{
        font-size: 11px !important;
        line-height: 1.2 !important;
        gap: 4px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .rb-internship-card .apply-btn{
        width: 100% !important;
        padding: 10px 12px !important;
        border-radius: 12px !important;
        font-size: 13px !important;
        font-weight: 900 !important;
        margin-top: 0 !important;
    }

    .rb-internship-card .rb-premium-note{
        margin: 7px 0 0 !important;
        font-size: 10.5px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

/* Extra small phones */
@media (max-width: 390px){
    .rb-internship-card{
        grid-template-columns: 105px 1fr !important;
        gap: 12px !important;
    }

    .rb-internship-card .rb-card-image{
        width: 105px !important;
    }

    .rb-internship-card .internship-thumb{
        width: 105px !important;
        height: 138px !important;
    }

    .rb-internship-card .rb-category-badge,
    .rb-internship-card .rb-type-badge,
    .rb-internship-card .rb-days-badge{
        font-size: 9px !important;
        padding: 5px 7px !important;
    }

    .rb-internship-card h3{
        font-size: 15px !important;
    }
}

/* ==========================================
   Desktop Internship Card Overflow Fix
   Add at bottom of theme.css
========================================== */

@media (min-width: 769px){

    .modern-internship-grid{
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 24px !important;
        align-items: stretch !important;
    }

    .rb-internship-card{
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .rb-card-image,
    .rb-card-content{
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .rb-card-top{
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .rb-badge-row{
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
        width: 100% !important;
    }

    .rb-days-badge,
    .rb-category-badge,
    .rb-type-badge{
        max-width: 100% !important;
        white-space: normal !important;
        line-height: 1.2 !important;
        text-align: center !important;
    }

    .rb-internship-card h3{
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
    }

    .rb-summary-line{
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .rb-info-grid{
        grid-template-columns: 1fr 1fr !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .rb-info-grid li{
        min-width: 0 !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }

    .rb-internship-card .apply-btn{
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-top: auto !important;
    }

    .rb-premium-note{
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }
}

/* Tablet: 2 cards */
@media (min-width: 769px) and (max-width: 1100px){
    .modern-internship-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* =====================================================
   FINAL INTERNSHIP CARD COMPACT FIX
   Home + Internships Page
   Add this at the VERY BOTTOM of assets/css/theme.css
===================================================== */

/* Desktop / Laptop */
@media (min-width: 769px){

    .modern-internship-grid{
        display:grid !important;
        grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
        gap:20px !important;
        align-items:stretch !important;
    }

    .rb-internship-card{
        display:flex !important;
        flex-direction:column !important;
        padding:16px !important;
        border-radius:16px !important;
        min-height:auto !important;
        overflow:hidden !important;
        box-sizing:border-box !important;
    }

    .rb-internship-card .internship-thumb{
        width:100% !important;
        height:135px !important;
        object-fit:cover !important;
        border-radius:12px !important;
        margin:0 0 12px !important;
    }

    .rb-card-top{
        flex-direction:column !important;
        align-items:flex-start !important;
        gap:7px !important;
        margin-bottom:8px !important;
    }

    .rb-badge-row{
        justify-content:flex-start !important;
        gap:6px !important;
        flex-wrap:wrap !important;
    }

    .rb-days-badge,
    .rb-category-badge,
    .rb-type-badge{
        padding:5px 9px !important;
        font-size:10.5px !important;
        line-height:1.1 !important;
        white-space:nowrap !important;
    }

    .rb-internship-card h3{
        margin:0 0 6px !important;
        font-size:16px !important;
        line-height:1.25 !important;
        font-weight:800 !important;
        color:#062b63 !important;
        display:-webkit-box !important;
        -webkit-line-clamp:2 !important;
        -webkit-box-orient:vertical !important;
        overflow:hidden !important;
    }

    .rb-summary-line{
        margin:0 0 10px !important;
        font-size:12px !important;
        line-height:1.35 !important;
        color:#475569 !important;
    }

    .rb-info-grid{
        grid-template-columns:1fr 1fr !important;
        gap:7px 9px !important;
        margin:0 0 12px !important;
    }

    .rb-info-grid li{
        font-size:11.5px !important;
        line-height:1.25 !important;
        gap:5px !important;
        min-width:0 !important;
        overflow:hidden !important;
        text-overflow:ellipsis !important;
        display:flex !important;
    }

    .rb-info-grid li span{
        font-size:12px !important;
        flex-shrink:0 !important;
    }

    .rb-internship-card .apply-btn{
        padding:10px 12px !important;
        border-radius:11px !important;
        font-size:13px !important;
        font-weight:800 !important;
        margin-top:auto !important;
    }

    .rb-premium-note{
        margin:8px 0 0 !important;
        font-size:11px !important;
        line-height:1.3 !important;
    }
}

/* Tablet */
@media (min-width:769px) and (max-width:1100px){
    .modern-internship-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Mobile compact card */
@media (max-width:768px){

    .latest-section,
    .modern-page{
        padding-top:28px !important;
    }

    .modern-section-title{
        margin-bottom:14px !important;
    }

    .modern-section-title h2{
        font-size:22px !important;
        line-height:1.2 !important;
    }

    .modern-section-title .modern-text{
        font-size:13px !important;
        line-height:1.45 !important;
    }

    .modern-internship-grid{
        grid-template-columns:1fr !important;
        gap:10px !important;
    }

    .rb-internship-card{
        position:relative !important;
        display:grid !important;
        grid-template-columns:92px minmax(0, 1fr) !important;
        gap:10px !important;
        align-items:start !important;
        padding:9px !important;
        min-height:auto !important;
        border-radius:14px !important;
        border:1px solid #e5eefb !important;
        background:#ffffff !important;
        box-shadow:0 6px 18px rgba(15,35,90,.06) !important;
        overflow:hidden !important;
    }

    .rb-internship-card .rb-card-image{
        width:92px !important;
        min-width:92px !important;
    }

    .rb-internship-card .internship-thumb{
        width:92px !important;
        height:116px !important;
        object-fit:cover !important;
        border-radius:11px !important;
        margin:0 !important;
        display:block !important;
    }

    .rb-internship-card .rb-card-content{
        min-width:0 !important;
        width:100% !important;
    }

    .rb-internship-card .rb-card-top{
        display:flex !important;
        align-items:flex-start !important;
        justify-content:flex-start !important;
        flex-wrap:wrap !important;
        gap:4px !important;
        margin:0 0 4px !important;
    }

    .rb-internship-card .rb-badge-row{
        display:flex !important;
        align-items:center !important;
        justify-content:flex-start !important;
        flex-wrap:wrap !important;
        gap:4px !important;
        width:100% !important;
    }

    .rb-internship-card .rb-days-badge,
    .rb-internship-card .rb-category-badge,
    .rb-internship-card .rb-type-badge{
        padding:4px 6px !important;
        font-size:8.5px !important;
        line-height:1 !important;
        min-height:auto !important;
        border-radius:999px !important;
        max-width:100% !important;
        white-space:nowrap !important;
    }

    .rb-internship-card .rb-days-badge i{
        font-size:9px !important;
    }

    .rb-internship-card h3{
        margin:0 0 4px !important;
        font-size:13px !important;
        line-height:1.18 !important;
        font-weight:800 !important;
        color:#062b63 !important;
        letter-spacing:-.1px !important;
        display:-webkit-box !important;
        -webkit-line-clamp:2 !important;
        -webkit-box-orient:vertical !important;
        overflow:hidden !important;
        word-break:break-word !important;
    }

    .rb-internship-card .rb-summary-line{
        margin:0 0 5px !important;
        font-size:10.5px !important;
        line-height:1.25 !important;
        color:#475569 !important;
        white-space:nowrap !important;
        overflow:hidden !important;
        text-overflow:ellipsis !important;
    }

    .rb-internship-card .rb-info-grid{
        display:grid !important;
        grid-template-columns:1fr 1fr !important;
        gap:3px 6px !important;
        margin:0 0 7px !important;
        padding:0 !important;
    }

    .rb-internship-card .rb-info-grid li{
        margin:0 !important;
        font-size:9.5px !important;
        line-height:1.15 !important;
        gap:3px !important;
        min-width:0 !important;
        white-space:nowrap !important;
        overflow:hidden !important;
        text-overflow:ellipsis !important;
        color:#334155 !important;
    }

    .rb-internship-card .rb-info-grid li span{
        font-size:10px !important;
        width:auto !important;
        flex-shrink:0 !important;
    }

    .rb-internship-card .apply-btn{
        width:100% !important;
        padding:7px 9px !important;
        border-radius:9px !important;
        font-size:11.5px !important;
        line-height:1 !important;
        font-weight:800 !important;
        margin:0 !important;
    }

    .rb-internship-card .rb-premium-note{
        display:none !important;
    }
}

/* Very small phones */
@media (max-width:390px){

    .rb-internship-card{
        grid-template-columns:84px minmax(0, 1fr) !important;
        gap:8px !important;
        padding:8px !important;
    }

    .rb-internship-card .rb-card-image{
        width:84px !important;
        min-width:84px !important;
    }

    .rb-internship-card .internship-thumb{
        width:84px !important;
        height:108px !important;
    }

    .rb-internship-card h3{
        font-size:12.5px !important;
    }

    .rb-internship-card .rb-summary-line{
        font-size:10px !important;
    }

    .rb-internship-card .rb-info-grid li{
        font-size:9px !important;
    }

    .rb-internship-card .rb-days-badge,
    .rb-internship-card .rb-category-badge,
    .rb-internship-card .rb-type-badge{
        font-size:8px !important;
        padding:4px 5px !important;
    }
}