/* ============================================
   POLTEVARA Homepage Styles
   Extracted from welcome.blade.php
   ============================================ */

/* ============================================
   NAVBAR STYLES
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(17, 116, 186, 0.1);
    transition: all 0.3s ease;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.navbar-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.navbar-logo-img {
    height: 5rem;
    width: auto;
    object-fit: contain;
}

@media (max-width: 639px) {
    .navbar-logo-img {
        height: 3.5rem;
    }
}

/* Desktop Navigation */
.navbar nav {
    display: none;
}

@media (min-width: 1024px) {
    .navbar nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
    
    .navbar nav a {
        color: #2b2b2b;
        text-decoration: none;
        font-weight: 500;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        position: relative;
        padding: 0.5rem 0;
    }
    
    .navbar nav a:hover {
        color: #1174ba;
    }
    
    .navbar nav a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: #1174ba;
        transition: width 0.3s ease;
    }
    
    .navbar nav a:hover::after {
        width: 100%;
    }
}

/* Desktop CTA Buttons */
.navbar .hidden.lg\\:flex {
    display: none;
}

@media (min-width: 1024px) {
    .navbar .hidden.lg\\:flex {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
}

.btn-primary {
    background: linear-gradient(135deg, #1174ba 0%, #0d5a8f 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(17, 116, 186, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0d5a8f 0%, #0a3d5c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 116, 186, 0.4);
}

.btn-compact {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

/* Mobile Menu Button */
.navbar button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.navbar button:hover {
    background: rgba(17, 116, 186, 0.1);
}

.navbar button svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #2b2b2b;
}

/* Mobile Menu */
#mobile-menu {
    background: white;
    border-top: 1px solid rgba(17, 116, 186, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #2b2b2b;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    margin: 0 0.5rem;
}

#mobile-menu a:hover {
    background: rgba(17, 116, 186, 0.1);
    color: #1174ba;
}

#mobile-menu button {
    width: 100%;
    text-align: center;
    margin: 0.25rem 0;
    background: transparent;
    color: #1174ba;
    border: 2px solid #1174ba;
}

#mobile-menu button:last-child {
    background: #1174ba;
    color: white;
    border: 2px solid #1174ba;
}

#mobile-menu button:hover {
    background: #0d5a8f;
    border-color: #0d5a8f;
    color: white;
}

/* Navbar scroll effect */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* User Dropdown Styles */
.user-dropdown-container {
    position: relative;
}

.user-dropdown-trigger {
    min-height: 44px;
}

.user-dropdown-menu {
    min-width: 14rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.user-dropdown-menu.opacity-100 {
    opacity: 1;
}

.user-dropdown-menu.opacity-0 {
    opacity: 0;
}

.user-dropdown-menu.scale-100 {
    transform: scale(1);
}

.user-dropdown-menu.scale-95 {
    transform: scale(0.95);
}

.user-dropdown-menu a,
.user-dropdown-menu button {
    min-height: 44px;
    /* Ensure identical alignment and spacing for anchor and button */
    display: flex;
    align-items: center;
    gap: 0.75rem; /* Tailwind gap-3 equivalent */
    padding: 0.75rem 1rem; /* Tailwind py-3 px-4 equivalent */
    width: 100%;
    text-align: left;
    box-sizing: border-box; /* avoid width differences */
}

.user-dropdown-menu a:hover,
.user-dropdown-menu button:hover {
    background-color: #f7f7f7;
}

.user-dropdown-menu a:hover {
    color: #1174ba;
}

.user-dropdown-menu button[type="submit"]:hover {
    background-color: #fee;
}

/* Mobile Dropdown Styles */
.mobile-user-dropdown-container {
    width: 100%;
}

.mobile-user-dropdown-trigger {
    min-height: 44px;
}

.mobile-user-dropdown-menu a,
.mobile-user-dropdown-menu button {
    min-height: 44px;
}

/* Keep dropdown icons from shrinking and align consistently */
.user-dropdown-menu svg,
.mobile-user-dropdown-menu svg {
    flex-shrink: 0;
    width: 20px; /* w-5 */
    height: 20px; /* h-5 */
    margin-right: 0; /* rely on gap for spacing */
}

/* Ensure body has top padding for fixed navbar */
body {
    padding-top: 4rem;
}

/* ============================================
   HERO SECTION STYLES
   ============================================ */

.hero-enhanced {
    background: linear-gradient(135deg, #1174ba 0%, #0d5a8f 50%, #0a3d5c 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 0 2rem 0;
}

.hero-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.03"><circle cx="30" cy="30" r="1"/></g></svg>') repeat;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 65vh;
}

.hero-content-left {
    order: 1;
}

.hero-content-wrapper {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    width: fit-content;
}

.hero-badge-icon {
    font-size: 1rem;
}

.hero-title-container {
    margin: 1rem 0;
}

.hero-main-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    line-height: 1.1;
}

.hero-title-primary {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-title-secondary {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d8d8d8;
    letter-spacing: -0.01em;
}

.hero-description {
    max-width: 100%;
}

.hero-description-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #f7f7f7;
    font-weight: 500;
    word-wrap: break-word;
    hyphens: auto;
}

.hero-highlight {
    color: #f7f7f7;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-cta-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.hero-btn-primary, .hero-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 280px;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f7f7f7 100%);
    color: #1174ba;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

.hero-btn-primary:hover {
    background: linear-gradient(135deg, #f7f7f7 0%, #d8d8d8 100%);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.3);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.2);
}

.hero-btn-text {
    font-size: 1rem;
}

.hero-btn-icon {
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 2.5;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 1rem;
}

.hero-stat-item {
    text-align: center;
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: #f7f7f7;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.25rem;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: #d8d8d8;
    font-weight: 500;
    line-height: 1.4;
}

.hero-visual-right {
    order: 2;
    position: relative;
}

.hero-main-visual {
    position: relative;
    height: 20rem;
    border-radius: 1.5rem;
    overflow: hidden;
    background: linear-gradient(135deg, #1174ba 0%, #0d5a8f 100%);
    transform: rotate(-1deg);
    margin-bottom: 1.5rem;
}

.hero-visual-overlay {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1562774053-701939374585?w=800&h=600&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.hero-visual-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: #ffffff;
}

.hero-visual-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-visual-subtitle {
    color: #f7f7f7;
    font-size: 0.875rem;
}

.hero-small-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.hero-card {
    padding: 1.5rem;
    border-radius: 1rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-4px);
}

.hero-card-ai {
    background: linear-gradient(135deg, #1174ba 0%, #0d5a8f 100%);
    transform: rotate(1deg);
}

.hero-card-iot {
    background: linear-gradient(135deg, #2b2b2b 0%, #1a1a1a 100%);
    transform: rotate(-0.5deg);
}

.hero-card-icon {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.hero-card-text {
    font-size: 0.75rem;
    opacity: 0.9;
    line-height: 1.4;
}

.hero-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-float-1, .hero-float-2, .hero-float-3 {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-float-1 {
    width: 3rem;
    height: 3rem;
    top: 10%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.hero-float-2 {
    width: 2rem;
    height: 2rem;
    top: 60%;
    right: 20%;
    animation: float 8s ease-in-out infinite reverse;
}

.hero-float-3 {
    width: 1.5rem;
    height: 1.5rem;
    top: 30%;
    right: 5%;
    animation: float 10s ease-in-out infinite;
}

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

/* Hero Responsive */
@media (min-width: 768px) {
    .hero-enhanced {
        padding: 6rem 0 2rem 0;
        min-height: 75vh;
    }

    .hero-grid {
        gap: 4rem;
        min-height: 55vh;
    }

    .hero-title-primary {
        font-size: 4.5rem;
    }

    .hero-title-secondary {
        font-size: 2rem;
    }

    .hero-description-text {
        font-size: 1.25rem;
    }

    .hero-cta-container {
        flex-direction: row;
        gap: 1.5rem;
    }

    .hero-btn-primary, .hero-btn-secondary {
        max-width: none;
        width: auto;
    }

    .hero-main-visual {
        height: 24rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .hero-stat-number {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-enhanced {
        /* Reduced top padding to bring hero closer to navbar on laptop/desktop */
        padding: 4rem 0 2rem 0;
        min-height: 70vh;
    }

    .hero-grid {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 6rem;
        align-items: center;
        min-height: 50vh;
    }

    .hero-content-left {
        order: 1;
    }

    .hero-visual-right {
        order: 2;
    }

    .hero-title-primary {
        font-size: 6rem;
    }

    .hero-title-secondary {
        font-size: 2.5rem;
    }

    .hero-description-text {
        font-size: 1.375rem;
        max-width: 90%;
    }

    .hero-main-visual {
        height: 28rem;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }

    .hero-stat-number {
        font-size: 3rem;
    }

    .hero-stat-label {
        font-size: 1rem;
    }
}

@media (min-width: 1280px) {
    .hero-enhanced {
        /* Keep reduced top spacing on large screens for consistency */
        padding: 4rem 0 2rem 0;
        min-height: 65vh;
    }

    .hero-grid {
        min-height: 45vh;
    }

    .hero-title-primary {
        font-size: 7rem;
    }

    .hero-description-text {
        font-size: 1.5rem;
        max-width: 85%;
    }
}

/* Additional overrides for larger desktop/laptop-L and 4K displays
   Laptop-L (>=1440px): slightly smaller vertical spacing
   4K (>=3840px): minimal vertical spacing for very large viewports */
@media (min-width: 1440px) {
    .hero-enhanced {
        padding: 3rem 0 1.5rem 0;
        /* slightly reduce min-height to keep content visually balanced */
        min-height: 60vh;
    }
}

/* QHD / Large monitors (>=2560px): make hero more compact than 1440 but slightly larger than ultra-wide 4K */
@media (min-width: 2560px) {
    .hero-enhanced {
        padding: 2.5rem 0 1rem 0;
        min-height: 58vh;
    }
}

@media (min-width: 3840px) {
    .hero-enhanced {
        padding: 2rem 0 1rem 0;
        /* on ultra-wide/4K keep hero compact */
        min-height: 55vh;
    }
}

@media (max-width: 640px) {
    .hero-enhanced {
        padding: 5rem 0 1.5rem 0;
        min-height: 100vh;
    }

    .hero-grid {
        gap: 2rem;
    }

    .hero-content-wrapper {
        gap: 1.5rem;
    }

    .hero-title-primary {
        font-size: 2.5rem;
    }

    .hero-title-secondary {
        font-size: 1.25rem;
    }

    .hero-description-text {
        font-size: 1rem;
    }

    .hero-btn-text {
        font-size: 0.875rem;
    }

    .hero-main-visual {
        height: 16rem;
        transform: rotate(-0.5deg);
    }

    .hero-stats {
        gap: 1rem;
    }

    .hero-stat-number {
        font-size: 1.5rem;
    }

    .hero-stat-label {
        font-size: 0.75rem;
    }

    .hero-card {
        padding: 1rem;
    }

    .hero-card-text {
        font-size: 0.6875rem;
    }
}

/* ============================================
   PROGRAM STUDI SECTION STYLES
   ============================================ */

.programs-grid-equal {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.program-card-equal {
    width: 100%;
}

.card-program-equal {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

@media (max-width: 640px) {
    .programs-grid-equal {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 0 0.5rem;
    }

    .card-program-equal {
        min-height: auto;
        padding: 1.5rem !important;
    }

    .card-program-equal h3 {
        font-size: 1.5rem !important;
        line-height: 1.3;
        word-wrap: break-word;
    }

    .card-program-equal .text-5xl {
        font-size: 2.5rem !important;
    }

    .card-program-equal p {
        font-size: 0.95rem !important;
        line-height: 1.6;
    }

    .card-program-equal a {
        font-size: 0.9rem !important;
        padding: 0.75rem 1rem !important;
    }

    .card-program-equal .grid {
        gap: 0.75rem !important;
    }

    .card-program-equal .space-y-3 > div {
        font-size: 0.9rem !important;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .programs-grid-equal {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .program-card-equal:nth-child(3) {
        grid-column: 1 / -1;
    }

    .card-program-equal {
        min-height: auto;
        padding: 1.5rem !important;
    }

    .card-program-equal h3 {
        font-size: 1.75rem !important;
        line-height: 1.3;
        word-wrap: break-word;
    }

    .card-program-equal .text-5xl {
        font-size: 3rem !important;
    }

    .card-program-equal p {
        font-size: 1rem !important;
        line-height: 1.6;
    }

    .card-program-equal a {
        font-size: 0.95rem !important;
    }
}

@media (min-width: 1025px) {
    .programs-grid-equal {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
    }

    .card-program-equal {
        min-height: 600px;
    }

    .card-program-equal h3 {
        font-size: 1.875rem !important;
        line-height: 1.3;
    }

    .card-program-equal p {
        font-size: 1rem !important;
        line-height: 1.7;
    }
}

@media (min-width: 1280px) {
    .programs-grid-equal {
        gap: 2rem;
    }

    .card-program-equal {
        min-height: 650px;
    }

    .card-program-equal h3 {
        font-size: 2rem !important;
    }

    .card-program-equal p {
        font-size: 1.05rem !important;
    }
}

.card-program-equal {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-program-equal:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.card-program-equal h3,
.card-program-equal p,
.card-program-equal span {
    word-break: break-word;
    overflow-wrap: break-word;
}

.card-program-equal a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    white-space: normal;
    text-align: center;
}

.card-program-equal a:hover {
    transform: scale(1.02);
}

.card-program-equal > div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card-program-equal .text-5xl {
    line-height: 1;
}

.card-program-equal .inline-block {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.card-program-equal .space-y-3 {
    margin: 0;
}

.card-program-equal .space-y-3 > div {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ============================================
   CAMPUS LIFE SECTION STYLES
   ============================================ */

.campus-diagonal-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.campus-row-1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.campus-right-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.campus-row-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 641px) and (max-width: 1024px) {
    .campus-row-1 {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .campus-right-stack {
        grid-template-rows: 1fr auto;
    }

    .campus-row-2 {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

@media (min-width: 1025px) {
    .campus-row-1 {
        grid-template-columns: 2fr 1fr;
        gap: 2rem;
        align-items: start;
    }

    .campus-right-stack {
        grid-template-rows: 1fr auto;
        gap: 1.5rem;
    }

    .campus-row-2 {
        grid-template-columns: 1fr 1.5fr;
        gap: 2rem;
        margin-top: 2rem;
    }
}

.card-campus {
    transition: all 0.3s ease;
}

.card-campus:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

@media (max-width: 640px) {
    .card-campus {
        transform: none !important;
    }

    .card-campus:hover {
        transform: translateY(-4px) !important;
    }
}

/* ============================================
   LIBRARY SECTION STYLES
   ============================================ */

.library-header-asymmetric {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: end;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(17, 116, 186, 0.05);
    border-radius: 1rem;
    border: 1px solid rgba(17, 116, 186, 0.1);
}

/* Container - Match navbar centering */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (max-width: 640px) {
    .stats-grid {
        gap: 0.75rem;
    }

    .stat-item {
        padding: 0.75rem 0.5rem;
        min-width: 0;
    }

    .library-header-asymmetric {
        margin-bottom: 2rem;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

.library-offset-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.library-col-2, .library-col-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.library-bottom-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 641px) and (max-width: 1024px) {
    .library-header-asymmetric {
        grid-template-columns: 2fr 1fr;
        gap: 3rem;
    }

    .library-offset-grid {
        grid-template-columns: 2fr 1fr;
        gap: 1.5rem;
    }

    .library-col-2 {
        display: none;
    }

    .library-col-3 {
        grid-template-rows: 2fr 1fr;
        gap: 1.5rem;
    }

    .library-bottom-stack {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

@media (min-width: 1025px) {
    .library-header-asymmetric {
        grid-template-columns: 3fr 1fr;
        gap: 4rem;
        margin-bottom: 4rem;
    }

    .library-offset-grid {
        grid-template-columns: 2fr 1fr;
        gap: 2rem;
        align-items: start;
    }

    .library-col-2 {
        display: none;
    }

    .library-col-3 {
        grid-template-rows: 2fr 1fr;
        gap: 2rem;
    }

    .library-bottom-stack {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

.card-library {
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.card-library:hover {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

@media (max-width: 640px) {
    .card-library {
        transform: none !important;
    }

    .card-library:hover {
        transform: translateY(-6px) !important;
    }
}

.library-header-content h2 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 1025px) {
    .library-header-content {
        transform: translateX(-2rem);
    }

    .library-header-stats {
        transform: translateX(2rem) translateY(-2rem);
    }
}

/* ============================================
   NEWS & EVENTS SECTION STYLES
   ============================================ */

.news-header-asymmetric {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.news-header-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.news-color-block {
    background: linear-gradient(135deg, rgba(17, 116, 186, 0.05) 0%, rgba(17, 116, 186, 0.1) 100%);
    padding: 2rem;
    border-radius: 2rem;
    border-left: 8px solid #1174ba;
}

.news-description-offset {
    padding: 1.5rem;
    background: rgba(17, 116, 186, 0.05);
    border-radius: 1.5rem;
    border-right: 6px solid #1174ba;
}

.news-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-highlight {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 4px solid;
}

.stat-highlight:first-child {
    border-top-color: #1174ba;
}

.stat-highlight:last-child {
    border-top-color: #0d5a8f;
}

.news-asymmetric-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.news-left-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.news-secondary-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.news-right-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.news-bottom-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (max-width: 640px) {
    .news-header-asymmetric {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .news-color-block {
        padding: 1.5rem;
        margin: 0;
        transform: none !important;
    }

    .news-description-offset {
        padding: 1.5rem;
        margin: 0;
        transform: none !important;
    }

    .news-header-stats {
        transform: none !important;
        margin: 0;
    }

    .news-stats-grid {
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .stat-highlight {
        padding: 1.5rem 1rem;
    }

    .news-asymmetric-grid {
        padding: 0 0.75rem;
        gap: 1.5rem;
        margin: 0 -0.25rem;
    }

    .card-news {
        transform: none !important;
        margin: 0 0.25rem;
        padding: 1.25rem !important;
        box-sizing: border-box;
        width: calc(100% - 0.5rem);
    }

    .card-news:hover {
        transform: translateY(-6px) !important;
    }

    .news-featured-card .card-news {
        margin: 0 0.5rem;
        width: calc(100% - 1rem);
        padding: 1.25rem !important;
    }

    .news-secondary-card .card-news,
    .news-partnership-card .card-news {
        margin: 0 0.25rem;
        width: calc(100% - 0.5rem);
        padding: 1.25rem !important;
    }

    .news-left-column,
    .news-right-column,
    .news-secondary-row,
    .news-bottom-stack {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .news-featured-card,
    .news-secondary-card,
    .news-partnership-card {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .card-news h3,
    .card-news h4,
    .card-news p {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .card-news a {
        font-size: 0.875rem !important;
        padding: 0.75rem 1.5rem !important;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .news-header-asymmetric {
        grid-template-columns: 2fr 1fr;
        gap: 3rem;
    }

    .news-header-main {
        grid-template-columns: 1fr;
    }

    .news-asymmetric-grid {
        grid-template-columns: 2fr 1fr;
        gap: 2rem;
    }

    .news-secondary-row {
        grid-template-columns: 1fr 1fr;
    }

    .news-bottom-stack {
        grid-template-columns: 1fr;
    }

    .news-color-block,
    .news-description-offset,
    .news-header-stats {
        transform: none !important;
    }

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

    .card-news:hover {
        transform: translateY(-8px) !important;
    }
}

@media (min-width: 1025px) {
    .news-header-asymmetric {
        grid-template-columns: 2fr 1fr;
        gap: 3rem;
        margin-bottom: 4rem;
    }

    .news-header-main {
        grid-template-columns: 1fr;
    }

    .news-asymmetric-grid {
        grid-template-columns: 2fr 1fr;
        gap: 2rem;
        align-items: start;
    }

    .news-secondary-row {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .news-right-column {
        display: grid;
        gap: 2rem;
    }

    .news-bottom-stack {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .news-color-block,
    .news-description-offset,
    .news-header-stats {
        transform: none !important;
    }

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

    .card-news:hover {
        transform: translateY(-12px) !important;
    }
}

.card-news {
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.card-news:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.news-color-block h2 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.news-featured-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    background: linear-gradient(135deg, #1174ba, #0d5a8f);
    border-radius: 2rem;
    z-index: -1;
    opacity: 0.1;
}

.news-featured-card {
    position: relative;
}

/* ============================================
   CTA SECTION STYLES
   ============================================ */

.cta-bg-elements {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    overflow: hidden;
}

.cta-bg-circle {
    position: absolute;
    border-radius: 50%;
    background: white;
}

.cta-bg-circle-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    left: -100px;
}

.cta-bg-circle-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    right: -50px;
}

.cta-bg-square {
    position: absolute;
    background: white;
    transform: rotate(45deg);
}

.cta-bg-square-1 {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 10%;
}

.cta-bg-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

.cta-bg-triangle-1 {
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 150px solid white;
    bottom: 30%;
    left: 15%;
}

.cta-asymmetric-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
    max-width: 100%;
    overflow: hidden;
}

.cta-left-column {
    display: grid;
    gap: 2rem;
    max-width: 100%;
}

.cta-right-column {
    display: grid;
    gap: 2rem;
    position: relative;
    max-width: 100%;
}

.cta-header-block {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.cta-badge-offset {
    transform: none;
    margin-bottom: 1.5rem;
}

.cta-badge-rocket {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    color: #1174ba;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transform: rotate(-1deg);
    transition: all 0.3s ease;
}

.cta-badge-rocket:hover {
    transform: rotate(0deg) translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cta-main-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.cta-title-line-1 {
    display: block;
    color: white;
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.cta-title-line-2 {
    display: block;
    background: linear-gradient(135deg, #1174ba 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.1;
}

.cta-description-compact {
    background: rgba(17, 116, 186, 0.12);
    padding: 1.75rem;
    border-radius: 1.25rem;
    border-left: 5px solid #1174ba;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cta-description-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    margin: 0;
}

.cta-actions-stack {
    display: grid;
    gap: 1rem;
    max-width: 100%;
}

.cta-btn-primary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #1174ba;
    font-weight: 800;
    padding: 1.25rem 2rem;
    border-radius: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    transform: none;
    min-height: 44px;
    min-width: 44px;
    max-width: 100%;
    word-wrap: break-word;
    text-align: center;
}

.cta-btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.cta-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    color: white;
    font-weight: 700;
    padding: 1.25rem 2rem;
    border-radius: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: none;
    min-height: 44px;
    min-width: 44px;
    max-width: 100%;
    word-wrap: break-word;
    text-align: center;
}

.cta-btn-secondary:hover {
    background: white;
    color: #1174ba;
    transform: translateY(-4px);
}

.cta-btn-text {
    font-size: 1rem;
    flex: 1;
}

.cta-btn-icon {
    margin-left: 0.5rem;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.cta-btn-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.cta-btn-primary:hover .cta-btn-glow {
    transform: translateX(100%);
}

.cta-stats-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.cta-stat-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 1.5rem;
    backdrop-filter: blur(10px);
}

.cta-stat-primary {
    background: rgba(17, 116, 186, 0.2);
    border: 1px solid rgba(17, 116, 186, 0.3);
}

.cta-stat-secondary {
    background: rgba(17, 116, 186, 0.2);
    border: 1px solid rgba(17, 116, 186, 0.3);
}

.cta-stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.5rem;
}

.cta-stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 600;
}

.cta-registration-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 2rem;
    padding: 2rem;
    color: #2b2b2b;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    transform: none;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.cta-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.cta-card-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.cta-card-title {
    flex: 1;
    min-width: 0;
}

.cta-card-title h3 {
    font-size: 1.75rem;
    font-weight: 900;
    color: #1174ba;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.cta-card-subtitle {
    color: #0d5a8f;
    font-weight: 700;
    font-size: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.cta-deadline-block {
    background: linear-gradient(135deg, #1174ba, #0d5a8f);
    color: #f7f7f7;
    padding: 2rem;
    border-radius: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.cta-deadline-label {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cta-deadline-date {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.cta-deadline-countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.countdown-item {
    text-align: center;
}

.countdown-number {
    font-size: 2rem;
    font-weight: 900;
    background: rgba(17, 116, 186, 0.2);
    border-radius: 0.5rem;
    padding: 0.5rem;
    min-width: 3rem;
}

.countdown-label {
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.countdown-separator {
    font-size: 2rem;
    font-weight: 900;
}

.cta-benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 100%;
}

.cta-benefit-item {
    display: flex;
    align-items: center;
    background: rgba(17, 116, 186, 0.1);
    padding: 1rem;
    border-radius: 1rem;
    border-left: 4px solid #1174ba;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    gap: 0.75rem;
}

.cta-benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cta-benefit-text {
    font-weight: 600;
    color: #2b2b2b;
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.cta-secondary-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 100%;
}

.cta-secondary-stat {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.cta-secondary-stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.5rem;
}

.cta-secondary-stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.cta-secondary-stat-icon {
    font-size: 1.5rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.cta-floating-badges {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    font-weight: 700;
    color: #2b2b2b;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
    white-space: nowrap;
    max-width: calc(100% - 2rem);
}

.cta-badge-1 {
    top: 10%;
    right: 1rem;
    animation-delay: 0s;
}

.cta-badge-2 {
    top: 50%;
    right: 0.5rem;
    animation-delay: 1s;
}

.cta-badge-3 {
    bottom: 20%;
    right: 1.5rem;
    animation-delay: 2s;
}

.cta-badge-icon {
    margin-right: 0.5rem;
}

.cta-badge-text {
    font-size: 0.875rem;
}

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

@media (min-width: 641px) and (max-width: 1024px) {
    .cta-asymmetric-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-main-title {
        font-size: 2.75rem;
    }

    .cta-registration-card {
        transform: none;
        padding: 2rem;
    }

    .cta-benefits-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-secondary-stats {
        grid-template-columns: 1fr 1fr;
    }

    .cta-stats-compact {
        grid-template-columns: 1fr 1fr;
    }

    .cta-badge {
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
        max-width: calc(100% - 1rem);
    }

    .cta-badge-1 {
        right: 0.5rem;
        top: 15%;
    }

    .cta-badge-2 {
        right: 0.25rem;
        top: 45%;
    }

    .cta-badge-3 {
        right: 0.75rem;
        bottom: 25%;
    }
}

@media (min-width: 1025px) and (max-width: 1439px) {
    .cta-asymmetric-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-main-title {
        font-size: 2.75rem;
    }

    .cta-registration-card {
        transform: none;
        padding: 2rem;
    }

    .cta-benefits-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-secondary-stats {
        grid-template-columns: 1fr 1fr;
    }

    .cta-stats-compact {
        grid-template-columns: 1fr 1fr;
    }

    .cta-badge {
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
        max-width: calc(100% - 1rem);
    }

    .cta-badge-1 {
        right: 0.5rem;
        top: 15%;
    }

    .cta-badge-2 {
        right: 0.25rem;
        top: 45%;
    }

    .cta-badge-3 {
        right: 0.75rem;
        bottom: 25%;
    }
}

@media (min-width: 1440px) {
    .cta-asymmetric-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-main-title {
        font-size: 2.75rem;
    }

    .cta-registration-card {
        transform: none;
        padding: 2rem;
    }

    .cta-benefits-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-secondary-stats {
        grid-template-columns: 1fr 1fr;
    }

    .cta-stats-compact {
        grid-template-columns: 1fr 1fr;
    }

    .cta-badge {
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
        max-width: calc(100% - 1rem);
    }

    .cta-badge-1 {
        right: 0.5rem;
        top: 15%;
    }

    .cta-badge-2 {
        right: 0.25rem;
        top: 45%;
    }

    .cta-badge-3 {
        right: 0.75rem;
        bottom: 25%;
    }

    .cta-title-line-1 {
        font-size: 1.75rem;
    }

    .cta-title-line-2 {
        font-size: 2.75rem;
    }

    .cta-description-text {
        font-size: 1.05rem;
    }
}

@media (max-width: 640px) {
    .cta-asymmetric-layout {
        gap: 1.5rem;
    }

    .cta-registration-card,
    .cta-btn-primary,
    .cta-btn-secondary {
        transform: none !important;
    }

    .cta-floating-badges {
        position: static;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.5rem;
        pointer-events: auto;
    }

    .cta-badge {
        position: static;
        align-self: center;
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
        animation: none;
        max-width: 90%;
    }

    .cta-badge-1,
    .cta-badge-2,
    .cta-badge-3 {
        position: static;
        right: auto;
        top: auto;
        bottom: auto;
    }

    .cta-main-title {
        font-size: 2rem;
    }

    .cta-title-line-1 {
        font-size: 1.5rem;
    }

    .cta-title-line-2 {
        font-size: 2.25rem;
    }

    .cta-description-text {
        font-size: 1rem;
    }

    .cta-badge-rocket {
        font-size: 0.75rem;
        padding: 0.75rem 1.25rem;
    }

    .cta-benefits-grid {
        grid-template-columns: 1fr;
    }

    .cta-secondary-stats {
        grid-template-columns: 1fr;
    }

    .cta-stats-compact {
        grid-template-columns: 1fr;
    }

    .cta-header-block {
        padding: 1rem;
    }

    .cta-registration-card {
        padding: 1.5rem;
    }

    .cta-card-header {
        flex-direction: column;
        text-align: center;
    }

    .cta-card-icon {
        font-size: 2.5rem;
    }

    .cta-card-title h3 {
        font-size: 1.5rem;
    }

    .cta-btn-text {
        font-size: 0.9rem;
    }

    .cta-deadline-countdown {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .countdown-number {
        font-size: 1.5rem;
        min-width: 2.5rem;
    }
}

.cta-registration-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.cta-secondary-stat:hover {
    transform: translateY(-4px);
    transition: all 0.3s ease;
}

@media (min-width: 1025px) {
    .cta-registration-card:hover {
        transform: translateX(1.5rem) translateY(-1.5rem) scale(1.01);
    }
}

/* ============================================
   VISI & MISI SECTION STYLES
   Singapore Polytechnic Design Patterns
   ============================================ */

#visi-misi {
    background: linear-gradient(135deg, #f0f7fc 0%, #e0eff9 50%, #c1dff3 100%);
    position: relative;
    overflow: hidden;
}

#visi-misi::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(17, 116, 186, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(17, 116, 186, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.visi-misi-container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.visi-misi-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.visi-misi-badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #f7f7f7 0%, #d8d8d8 100%);
    color: #1174ba;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(17, 116, 186, 0.2);
    backdrop-filter: blur(10px);
}

.visi-misi-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #2b2b2b;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
}

.visi-misi-title-highlight {
    color: #1174ba;
    background: linear-gradient(135deg, #1174ba 0%, #0d5a8f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.visi-misi-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: stretch;
}

.visi-misi-card {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.visi-misi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1174ba 0%, #0d5a8f 100%);
}

.visi-misi-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.visi-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.misi-card {
    background: linear-gradient(135deg, #1174ba 0%, #0d5a8f 50%, #0a3d5c 100%);
    color: #ffffff;
}

.misi-card::before {
    background: linear-gradient(90deg, #1174ba 0%, #0d5a8f 100%);
}

.visi-misi-card-header {
    text-align: center;
    margin-bottom: 2rem;
    flex-shrink: 0;
}

.visi-misi-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
    line-height: 1;
}

.visi-misi-card-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0;
    letter-spacing: -0.025em;
}

.visi-card .visi-misi-card-title {
    color: #1174ba;
}

.misi-card .visi-misi-card-title {
    color: #ffffff;
}

.visi-misi-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.visi-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #2b2b2b;
    font-weight: 500;
    text-align: center;
    word-wrap: break-word;
    hyphens: auto;
    overflow-wrap: break-word;
}

.misi-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.misi-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
}

.misi-bullet {
    width: 0.75rem;
    height: 0.75rem;
    background: #f7f7f7;
    border-radius: 50%;
    margin-top: 0.5rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(247, 247, 247, 0.3);
}

.misi-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #f7f7f7;
    font-weight: 400;
    word-wrap: break-word;
    hyphens: auto;
    overflow-wrap: break-word;
    flex: 1;
}

/* Responsive Design - Mobile First */
@media (min-width: 320px) {
    .visi-misi-container {
        padding: 0 1rem;
    }
    
    .visi-misi-card {
        padding: 1.5rem;
        border-radius: 1rem;
    }
    
    .visi-misi-title {
        font-size: 2rem;
    }
    
    .visi-misi-icon {
        font-size: 3rem;
    }
    
    .visi-misi-card-title {
        font-size: 1.5rem;
    }
    
    .visi-content p {
        font-size: 1rem;
    }
    
    .misi-text {
        font-size: 0.875rem;
    }
}

/* Tablet Design */
@media (min-width: 641px) {
    .visi-misi-container {
        padding: 0 2rem;
    }
    
    .visi-misi-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .visi-misi-card {
        padding: 2rem;
    }
    
    .visi-misi-title {
        font-size: 2.5rem;
    }
    
    .visi-misi-icon {
        font-size: 4rem;
    }
    
    .visi-misi-card-title {
        font-size: 2rem;
    }
    
    .visi-content p {
        font-size: 1.125rem;
    }
    
    .misi-text {
        font-size: 1rem;
    }
}

/* Desktop Design */
@media (min-width: 1025px) {
    .visi-misi-container {
        padding: 0 3rem;
    }
    
    .visi-misi-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: stretch;
    }
    
    .visi-misi-card {
        padding: 3rem;
        border-radius: 1.5rem;
    }
    
    .visi-misi-title {
        font-size: 3.5rem;
    }
    
    .visi-misi-icon {
        font-size: 5rem;
    }
    
    .visi-misi-card-title {
        font-size: 2.5rem;
    }
    
    .visi-content p {
        font-size: 1.25rem;
        text-align: left;
    }
    
    .misi-text {
        font-size: 1.125rem;
    }
    
    /* Asymmetric Grid Enhancement for Desktop */
    .visi-card {
        transform: translateY(-1rem);
    }
    
    .misi-card {
        transform: translateY(1rem);
    }
}

/* Large Desktop */
@media (min-width: 1280px) {
    .visi-misi-container {
        padding: 0 4rem;
    }
    
    .visi-misi-grid {
        gap: 4rem;
    }
    
    .visi-misi-title {
        font-size: 4rem;
    }
    
    .visi-content p {
        font-size: 1.375rem;
    }
    
    .misi-text {
        font-size: 1.25rem;
    }
}

/* Mobile Vertical Stacking */
@media (max-width: 640px) {
    .visi-misi-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .visi-card,
    .misi-card {
        transform: none !important;
    }
    
    .visi-misi-header {
        margin-bottom: 2rem;
    }
    
    .visi-misi-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
    
    /* Ensure minimum touch targets */
    .visi-misi-card {
        min-height: 44px;
        touch-action: manipulation;
    }
}

/* Text Overflow Prevention */
.visi-misi-card * {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Accessibility Improvements */
.visi-misi-card:focus-within {
    outline: 2px solid #1174ba;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .visi-misi-card {
        transition: none;
    }
    
    .visi-misi-card:hover {
        transform: none;
    }
}

/* ============================================
   FOOTER SECTION STYLES
   ============================================ */

/* ============================================
   FOOTER SECTION STYLES
   ============================================ */

/* Main Footer Structure */
.footer-main {
    background: linear-gradient(135deg, #2b2b2b 0%, #1a1a1a 100%);
    color: white;
    padding: 2.75rem 0 0 0;
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-content {
    margin-bottom: 1.75rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.25rem 3rem;
    align-items: start;
}

/* Footer Sections */
.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f7f7f7;
    margin-bottom: 1rem;
    position: relative;
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 2rem;
    height: 2px;
    background: #1174ba;
}

/* Brand Section */
.footer-brand {
    padding-right: 2rem;
}

.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo-box {
    flex-shrink: 0;
}

.footer-logo-img {
    height: 3.75rem;
    width: auto;
    object-fit: contain;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
}

.footer-brand-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #f7f7f7;
    line-height: 1.2;
}

.footer-brand-subtitle {
    font-size: 0.875rem;
    color: #1174ba;
    font-weight: 600;
    margin-top: 0.25rem;
}

.footer-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

/* Social Media */
.footer-social-section {
    margin-top: 1rem;
}

.footer-social-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #f7f7f7;
    margin-bottom: 1rem;
}

.footer-social-icons {
    display: flex;
    gap: 0.75rem;
}

.footer-social-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-social-icon:hover {
    background: #1174ba;
    color: white;
    transform: translateY(-2px);
}

.footer-social-svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Links Section */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 0.75rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-link:hover {
    color: #1174ba;
}

/* Academic Info Section */
.footer-info-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-info-item {
    padding: 0.7rem 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-info-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.footer-info-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #f7f7f7;
    margin-bottom: 0.2rem;
    line-height: 1.3;
}

.footer-info-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.35rem;
    line-height: 1.4;
}

.footer-action-link {
    color: #5aafe7;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-action-link:hover {
    color: #0d5a8f;
}

/* Contact Section */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-contact-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 116, 186, 0.2);
    border-radius: 0.5rem;
    color: #1174ba;
}

.footer-contact-svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-contact-text {
    flex: 1;
}

.footer-contact-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #f7f7f7;
    margin-bottom: 0.25rem;
}

.footer-contact-value {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.footer-contact-link {
    color: #1174ba;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-link:hover {
    color: #0d5a8f;
}

/* Bottom Footer */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    margin-top: 1.25rem;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-foundation {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-foundation-logo {
    width: 2rem;
    height: 2rem;
    border-radius: 0.25rem;
    object-fit: cover;
}

.footer-foundation-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.2;
    text-align: left;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 640px) {
    .footer-main {
        padding: 3rem 0 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: 1;
        margin-bottom: 1rem;
    }
    
    .footer-brand-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .footer-social-icons {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .footer-info-item {
        padding: 1rem;
    }
}

.footer-asymmetric {
    position: relative;
    background: linear-gradient(135deg, #2b2b2b 0%, #1a1a1a 100%);
}

.footer-asymmetric-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-left-column {
    padding-right: 1rem;
}

.footer-brand-enhanced {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-enhanced {
    margin-bottom: 1rem;
}

.footer-description-enhanced {
    font-size: 1rem;
    line-height: 1.6;
    margin: 1.5rem 0;
    color: rgba(255, 255, 255, 0.8);
}

.footer-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.footer-stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1174ba;
    margin-bottom: 0.25rem;
}

.footer-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.footer-accreditation-enhanced {
    margin: 1.5rem 0;
}

.footer-accred-badge {
    display: flex;
    align-items: center;
    background: #1174ba;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: #f7f7f7;
    max-width: fit-content;
}

.footer-accred-grade {
    font-size: 1.25rem;
    font-weight: 700;
    margin-right: 0.75rem;
}

.footer-social-enhanced .footer-social-icons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-social-enhanced .footer-social-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-enhanced .footer-social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-right-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-top-row {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-links-compact {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links-minimal {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.footer-links-minimal li {
    margin-bottom: 0.5rem;
}

.footer-links-minimal a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-minimal a:hover {
    color: #1174ba;
}

.footer-academic-enhanced {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-info-stacked {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-info-box {
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 3px solid;
}

.footer-info-primary {
    background: rgba(17, 116, 186, 0.1);
    border-left-color: #1174ba;
}

.footer-info-secondary {
    background: rgba(17, 116, 186, 0.1);
    border-left-color: #1174ba;
}

.footer-info-tertiary {
    background: rgba(17, 116, 186, 0.1);
    border-left-color: #1174ba;
}

.footer-contact-enhanced {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-contact-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer-contact-item {
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact-large {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
}

.footer-contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.footer-contact-compact {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
}

.footer-operating-enhanced {
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    margin-top: 1rem;
}

.footer-bottom-asymmetric {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-enhanced {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-copyright-enhanced {
    text-align: left;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-center {
    display: flex;
    justify-content: center;
}

.footer-bottom-links-enhanced {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-link:hover {
    color: #1174ba;
}

.footer-foundation-enhanced {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.footer-foundation {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-foundation-logo {
    width: 2rem;
    height: 2rem;
    border-radius: 0.25rem;
}

.footer-foundation-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.2;
    text-align: left;
}

@media (min-width: 641px) and (max-width: 1024px) {
    .footer-asymmetric-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .footer-left-column {
        grid-column: 1 / -1;
        padding-right: 0;
    }

    .footer-right-column {
        display: contents;
    }

    .footer-top-row {
        display: contents;
    }

    .footer-stats-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-contact-row {
        grid-template-columns: 1fr;
    }

    .footer-bottom-enhanced {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
        padding: 0 1.5rem;
    }

    .footer-copyright-enhanced,
    .footer-foundation-enhanced {
        text-align: center;
        justify-content: center;
    }

    .footer-bottom-links-enhanced {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .footer-asymmetric-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .footer-left-column {
        padding-right: 0;
    }

    .footer-right-column {
        display: contents;
    }

    .footer-top-row {
        display: contents;
    }

    .footer-brand-enhanced {
        padding: 1.5rem;
    }

    .footer-stats-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .footer-contact-row {
        grid-template-columns: 1fr;
    }

    .footer-bottom-enhanced {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
        padding: 0 1rem;
    }

    .footer-bottom-links-enhanced {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-foundation-enhanced {
        justify-content: center;
    }

    .footer-social-enhanced .footer-social-icons {
        justify-content: center;
    }
}

.footer-stat-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transition: background-color 0.3s ease;
}

.footer-contact-item:hover {
    background: transparent;
    transition: none;
}

/* =========================================================
   Homepage refresh — professional, honest, on-palette.
   This stylesheet loads only on the welcome page, so the
   .pmb-ico sizing below does not affect PMB step pages.
   ========================================================= */

/* Line icons follow the font-size of their container */
.pmb-ico {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: middle;
}

/* Hero badge / button / card icons */
.hero-badge-icon {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
}

.hero-btn-icon {
    display: inline-flex;
    align-items: center;
    font-size: 1.25rem;
    width: auto;
    height: auto;
}

.hero-card-icon {
    display: inline-flex;
    align-items: center;
}

/* Section eyebrow chips */
.hp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
}

.hp-eyebrow-light {
    background: #e0eff9;
    color: #0d5a8f;
}

.hp-eyebrow-dark {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hp-eyebrow-ico {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
}

/* Visi & Misi icons */
.visi-misi-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.vm-badge-ico {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
}

.visi-misi-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visi-misi-icon .pmb-ico {
    width: 3rem;
    height: 3rem;
}

.visi-card .visi-misi-icon {
    color: #1174ba;
}

.misi-card .visi-misi-icon {
    color: #ffffff;
}

/* Inline check bullets + button arrows */
.hp-check {
    display: inline-flex;
    align-items: center;
    color: #1174ba;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.hp-btn-ico {
    display: inline-flex;
    align-items: center;
    font-size: 1.15rem;
}

/* Value cards (Keunggulan) */
.hp-value-card {
    background: #ffffff;
    border: 1px solid #eef1f4;
    border-radius: 1.25rem;
    padding: 1.75rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.hp-value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 30px -12px rgba(13, 90, 143, 0.25);
}

.hp-value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.85rem;
    background: #e0eff9;
    color: #0d5a8f;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.hp-value-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 0.5rem;
}

.hp-value-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #5a5a5a;
}

/* Library cards (dark section) */
.hp-lib-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.25rem;
    padding: 1.5rem;
    transition: transform 0.3s ease, background 0.3s ease;
    height: 100%;
}

.hp-lib-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
}

.hp-lib-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: rgba(17, 116, 186, 0.25);
    color: #a2cfed;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.hp-lib-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.hp-lib-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #b8b8b8;
}

/* About / Yayasan fact rows */
.hp-fact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.hp-fact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.7rem;
    flex-shrink: 0;
    background: #e0eff9;
    color: #0d5a8f;
    font-size: 1.2rem;
}

.hp-fact-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #1174ba;
    margin-bottom: 0.15rem;
}

.hp-fact-value {
    font-size: 0.95rem;
    color: #2b2b2b;
    line-height: 1.5;
}

/* CTA badge / card icon / steps */
.cta-badge-rocket {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-badge-ico {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
}

.cta-btn-icon {
    display: inline-flex;
    align-items: center;
    font-size: 1.25rem;
}

.cta-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, #1174ba, #0d5a8f);
    color: #ffffff;
    font-size: 1.6rem;
}

.cta-benefit-icon {
    display: inline-flex;
    align-items: center;
    color: #1174ba;
    font-size: 1.4rem;
}

.pmb-steps-block {
    background: linear-gradient(135deg, #1174ba, #0d5a8f);
    color: #f7f7f7;
    padding: 1.75rem;
    border-radius: 1.5rem;
    margin-bottom: 1.5rem;
}

.pmb-steps-title {
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.pmb-steps-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.pmb-step {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.pmb-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.9rem;
}

.pmb-step-text {
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Keep the dark section glow within the brand palette */
.section-dark::before {
    background:
        radial-gradient(circle at 20% 80%, rgba(17, 116, 186, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(17, 116, 186, 0.10) 0%, transparent 50%);
}

/* =========================================================
   SP-inspired layout system (Singapore Polytechnic style),
   rebuilt in the POLTEVARA blue palette. Bento mosaic hero,
   dark explore panel, spotlight split, circular arrow CTAs.
   ========================================================= */

.sp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.sp-section {
    padding: 4rem 0;
}

.sp-section-light {
    background: linear-gradient(180deg, #f0f7fc 0%, #ffffff 100%);
}

@media (min-width: 1024px) {
    .sp-section {
        padding: 5.5rem 0;
    }
}

/* Section headings */
.sp-kicker {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1174ba;
    margin-bottom: 0.85rem;
}

.sp-kicker.on-dark {
    color: #5aafe7;
}

.sp-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    line-height: 1.15;
    font-weight: 800;
    color: #2b2b2b;
    letter-spacing: -0.01em;
}

.sp-section-head {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.sp-section-lead {
    color: #5a5a5a;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 42rem;
}

@media (min-width: 900px) {
    .sp-section-head {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: end;
    }

    .sp-heading {
        font-size: 2.5rem;
    }
}

/* Circular arrow button (signature SP element) */
.sp-arrow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #1174ba;
    color: #ffffff;
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: transform 0.25s ease, background 0.25s ease;
}

.sp-arrow-btn.on-dark {
    background: #ffffff;
    color: #0d5a8f;
}

.sp-arrow-btn.sm {
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
}

.sp-tile:hover .sp-arrow-btn,
.sp-spark-card:hover .sp-arrow-btn,
.sp-btn-light:hover .sp-arrow-btn,
.sp-prodi-cta:hover .sp-arrow-btn {
    transform: translateX(3px);
}

/* ===== HERO ===== */
.sp-hero {
    padding: 2.5rem 0 4rem;
}

@media (min-width: 1024px) {
    .sp-hero {
        padding: 3.5rem 0 5rem;
    }
}

.sp-hero-head {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 2.5rem;
}

.sp-hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 2.25rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #0d5a8f;
}

.sp-hero-title-accent {
    color: #1174ba;
}

@media (min-width: 768px) {
    .sp-hero-title {
        font-size: 3.25rem;
    }
}

.sp-hero-sub {
    margin-top: 1rem;
    color: #5a5a5a;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Bento mosaic */
.sp-bento {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: 1fr;
    grid-template-areas:
        "feature"
        "pmb"
        "industri"
        "facts"
        "library";
}

@media (min-width: 768px) {
    .sp-bento {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "feature pmb"
            "feature industri"
            "facts library";
        grid-auto-rows: minmax(150px, auto);
    }
}

.sp-bento > :nth-child(1) { grid-area: feature; }
.sp-bento > :nth-child(2) { grid-area: pmb; }
.sp-bento > :nth-child(3) { grid-area: industri; }
.sp-bento > :nth-child(4) { grid-area: facts; }
.sp-bento > :nth-child(5) { grid-area: library; }

.sp-tile {
    position: relative;
    display: block;
    border-radius: 1.5rem;
    padding: 1.6rem;
    overflow: hidden;
    text-decoration: none;
    min-height: 160px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sp-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 40px -18px rgba(13, 90, 143, 0.45);
}

.sp-tile-light:hover {
    box-shadow: 0 22px 40px -20px rgba(0, 0, 0, 0.18);
}

.sp-tile-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 1.25rem;
    min-height: 128px;
}

.sp-tile-feature {
    background: linear-gradient(135deg, #0d5a8f 0%, #0a3d5c 55%, #051829 100%);
    color: #ffffff;
}

.sp-tile-solid {
    background: linear-gradient(135deg, #1174ba 0%, #0d5a8f 100%);
    color: #ffffff;
}

.sp-tile-facts {
    background: linear-gradient(160deg, #0a3d5c 0%, #051829 100%);
    color: #ffffff;
}

.sp-tile-light {
    background: #ffffff;
    border: 1px solid #e0eff9;
    color: #2b2b2b;
}

.sp-tile-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(90, 175, 231, 0.35) 0, transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(17, 116, 186, 0.30) 0, transparent 40%);
}

.sp-tile-kicker {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 0.6rem;
}

.sp-tile-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.sp-tile-title-sm {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    line-height: 1.25;
    font-weight: 700;
}

.sp-tile-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.sp-tile-link {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.92;
}

.sp-tile-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 0.9rem;
}

.sp-tile-ico.soft {
    background: #e0eff9;
    color: #0d5a8f;
}

/* Facts tile */
.sp-facts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sp-facts li {
    display: flex;
    flex-direction: column;
}

.sp-facts-num {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    color: #5aafe7;
}

.sp-facts-text {
    font-weight: 700;
    font-size: 1rem;
    color: #e0eff9;
}

.sp-facts-label {
    font-size: 0.82rem;
    color: #a2cfed;
    margin-top: 0.15rem;
}

/* ===== EXPLORE (dark panel) ===== */
.sp-explore {
    position: relative;
    display: grid;
    gap: 1.25rem;
    background: linear-gradient(150deg, #0a3d5c 0%, #072a42 50%, #051829 100%);
    border-radius: 1.75rem;
    padding: 2rem;
    overflow: hidden;
}

@media (min-width: 900px) {
    .sp-explore {
        grid-template-columns: 1.7fr 1fr;
        padding: 3rem;
        gap: 2rem;
        align-items: stretch;
    }
}

.sp-explore-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

@media (min-width: 900px) {
    .sp-explore-title {
        font-size: 2.25rem;
    }
}

.sp-explore-sub {
    color: #a2cfed;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 34rem;
}

.sp-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.sp-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.1rem;
    border-radius: 2rem;
    background: #ffffff;
    color: #0d5a8f;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.sp-pill:hover {
    transform: translateY(-2px);
    background: #e0eff9;
}

.sp-pill.is-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #c1dff3;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.sp-pill.is-tag:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: none;
}

.sp-spark-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    background: linear-gradient(135deg, #1174ba 0%, #0d5a8f 100%);
    border-radius: 1.25rem;
    padding: 1.75rem;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sp-spark-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 40px -18px rgba(0, 0, 0, 0.45);
}

.sp-spark-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0.4rem 0 0.5rem;
}

.sp-spark-text {
    color: #e0eff9;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===== PROGRAM DETAIL CARDS ===== */
.sp-prodi-grid {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.75rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .sp-prodi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.sp-prodi-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e6eef5;
    border-radius: 1.5rem;
    padding: 1.75rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sp-prodi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 44px -22px rgba(13, 90, 143, 0.4);
}

.sp-prodi-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #1174ba, #0d5a8f);
    color: #ffffff;
    font-size: 1.6rem;
    margin-bottom: 1.1rem;
}

.sp-prodi-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0d5a8f;
    background: #e0eff9;
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
    margin-bottom: 0.85rem;
}

.sp-prodi-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #2b2b2b;
    line-height: 1.3;
    margin-bottom: 0.7rem;
}

.sp-prodi-text {
    color: #5a5a5a;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.1rem;
}

.sp-prodi-list {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.sp-prodi-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #2b2b2b;
}

.sp-prodi-meta {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    margin-bottom: 1.25rem;
}

.sp-prodi-meta span {
    flex: 1;
    background: #f7f7f7;
    border-radius: 0.75rem;
    padding: 0.65rem 0.75rem;
    font-size: 0.8rem;
    color: #5a5a5a;
}

.sp-prodi-meta strong {
    display: block;
    color: #2b2b2b;
    font-size: 0.95rem;
}

.sp-prodi-cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: #0d5a8f;
    color: #ffffff;
    border-radius: 0.85rem;
    padding: 0.5rem 0.6rem 0.5rem 1.1rem;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.25s ease;
}

.sp-prodi-cta:hover {
    background: #0a3d5c;
}

.sp-prodi-cta .sp-arrow-btn {
    background: #ffffff;
    color: #0d5a8f;
}

/* ===== SPOTLIGHT ===== */
.sp-spotlight {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .sp-spotlight {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

.sp-feature-card {
    background: linear-gradient(150deg, #0d5a8f 0%, #0a3d5c 60%, #051829 100%);
    color: #ffffff;
    border-radius: 1.75rem;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    min-height: 280px;
}

.sp-feature-quote {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: -0.01em;
}

@media (min-width: 900px) {
    .sp-feature-quote {
        font-size: 1.75rem;
    }
}

.sp-feature-foot {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: #a2cfed;
    font-size: 0.9rem;
    font-weight: 600;
}

.sp-feature-logo {
    height: 2.25rem;
    width: auto;
    background: #ffffff;
    border-radius: 0.5rem;
    padding: 0.3rem 0.5rem;
}

.sp-side-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 560px) {
    .sp-side-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.sp-side-card,
.sp-mini-card {
    background: #ffffff;
    border: 1px solid #e6eef5;
    border-radius: 1.25rem;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sp-side-card:hover,
.sp-mini-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 32px -18px rgba(13, 90, 143, 0.3);
}

.sp-side-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.85rem;
    background: #e0eff9;
    color: #0d5a8f;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.sp-side-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 0.4rem;
}

.sp-side-text {
    color: #5a5a5a;
    font-size: 0.9rem;
    line-height: 1.55;
}

/* ===== LIBRARY ===== */
.sp-library {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .sp-library {
        grid-template-columns: 1fr 1.1fr;
        gap: 1.5rem;
        align-items: stretch;
    }
}

.sp-library-feature {
    background: linear-gradient(150deg, #1174ba 0%, #0d5a8f 70%, #0a3d5c 100%);
    color: #ffffff;
    border-radius: 1.75rem;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sp-library-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.85rem;
}

.sp-library-text {
    color: #e0eff9;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.sp-library-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 560px) {
    .sp-library-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== BUTTONS ===== */
.sp-btn-light {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    align-self: flex-start;
    background: #ffffff;
    color: #0d5a8f;
    padding: 0.5rem 0.5rem 0.5rem 1.4rem;
    border-radius: 2.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sp-btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px -12px rgba(0, 0, 0, 0.35);
}

.sp-btn-light .sp-arrow-btn {
    background: #0d5a8f;
    color: #ffffff;
}

.sp-btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    border-radius: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.25s ease;
}

.sp-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* ===== ABOUT ===== */
.sp-about {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .sp-about {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
        align-items: start;
    }
}

.sp-about-main .sp-heading {
    margin-bottom: 1.25rem;
}

.sp-about-text {
    color: #5a5a5a;
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.sp-about-card {
    background: #ffffff;
    border: 1px solid #e6eef5;
    border-radius: 1.5rem;
    padding: 1.75rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.sp-about-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 1.25rem;
}

.sp-fact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.75rem 0;
    border-top: 1px solid #f1f5f9;
}

.sp-fact-row:first-of-type {
    border-top: 0;
    padding-top: 0;
}

/* ===== CTA ===== */
.sp-cta {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    background: linear-gradient(140deg, #1174ba 0%, #0d5a8f 45%, #072a42 100%);
    color: #ffffff;
    padding: 2.5rem;
    display: grid;
    gap: 2rem;
}

@media (min-width: 900px) {
    .sp-cta {
        grid-template-columns: 1.3fr 1fr;
        padding: 3.5rem;
        align-items: center;
    }
}

.sp-cta-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 90% 10%, rgba(90, 175, 231, 0.35) 0, transparent 40%),
        radial-gradient(circle at 5% 95%, rgba(255, 255, 255, 0.1) 0, transparent 35%);
    pointer-events: none;
}

.sp-cta-body {
    position: relative;
    z-index: 1;
}

.sp-cta-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

@media (min-width: 900px) {
    .sp-cta-title {
        font-size: 2.4rem;
    }
}

.sp-cta-text {
    color: #e0eff9;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
    max-width: 34rem;
}

.sp-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.sp-cta-steps {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1.5rem;
    padding: 1.75rem;
    backdrop-filter: blur(8px);
}

.sp-cta-steps-title {
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.sp-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.sp-steps li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.98rem;
}

.sp-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    font-weight: 800;
    font-size: 0.9rem;
}

/* =========================================================
   Professional split hero (dark blue, full colour)
   ========================================================= */
.sp-hero2 {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0d5a8f 0%, #0a3d5c 52%, #051829 100%);
    color: #ffffff;
    padding: 3.5rem 0 4rem;
}

@media (min-width: 1024px) {
    .sp-hero2 {
        padding: 5rem 0 5.5rem;
    }
}

.sp-hero2-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 12%, rgba(90, 175, 231, 0.28) 0, transparent 45%),
        radial-gradient(circle at 12% 92%, rgba(17, 116, 186, 0.32) 0, transparent 42%);
    pointer-events: none;
}

.sp-hero2-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 960px) {
    .sp-hero2-grid {
        grid-template-columns: 1.12fr 0.88fr;
        gap: 3rem;
    }
}

.sp-hero2-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.sp-hero2-badge-ico {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    color: #5aafe7;
}

.sp-hero2-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 2.4rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.1rem;
}

.sp-hero2-title span {
    display: block;
    color: #5aafe7;
}

@media (min-width: 768px) {
    .sp-hero2-title {
        font-size: 3.4rem;
    }
}

.sp-hero2-sub {
    color: #c1dff3;
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 34rem;
    margin-bottom: 2rem;
}

.sp-hero2-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.25rem;
}

.sp-hero2-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.sp-hero2-stat strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
}

.sp-hero2-stat span {
    font-size: 0.85rem;
    color: #a2cfed;
}

.sp-hero2-card {
    position: relative;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.045) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1.5rem;
    padding: 1.75rem;
    backdrop-filter: blur(14px);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.sp-hero2-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(120% 60% at 50% -10%, rgba(90, 175, 231, 0.22), transparent 60%);
    pointer-events: none;
}

.sp-hero2-card-kicker {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5aafe7;
    margin-bottom: 1.25rem;
}

.sp-hero2-card-kicker::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(90, 175, 231, 0.5), transparent);
}

.sp-hero2-pillars {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.sp-hero2-pillar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 0.9rem 1rem;
    overflow: hidden;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.sp-hero2-pillar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, #5aafe7, #1174ba);
    transition: height 0.28s ease;
}

.sp-hero2-pillar:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(90, 175, 231, 0.4);
}

.sp-hero2-pillar:hover::before {
    height: 62%;
}

.sp-hero2-pillar .ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.8rem;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: background 0.25s ease, color 0.25s ease;
}

.sp-hero2-pillar:hover .ico {
    background: linear-gradient(135deg, #1174ba, #5aafe7);
}

.sp-hero2-pillar-body {
    display: flex;
    flex-direction: column;
}

.sp-hero2-pillar-title {
    font-weight: 700;
    font-size: 1.02rem;
}

.sp-hero2-pillar-sub {
    font-size: 0.83rem;
    color: #a2cfed;
}

/* =========================================================
   Section colour rhythm — alternate white / soft-blue bands,
   bookended by the dark hero and dark footer.
   ========================================================= */
.sp-bento-section {
    background: #ffffff;
}

#program-studi.sp-section,
#perpustakaan.sp-section,
#pendaftaran.sp-section {
    background: #e9f2fb;
}

#keunggulan.sp-section-light,
#tentang.sp-section-light {
    background: #ffffff;
}

/* =========================================================
   Hero polish — status dot, floating depth, entrance motion
   ========================================================= */
.sp-hero2-visual {
    position: relative;
}

.sp-hero2-card {
    z-index: 1;
}

.sp-hero2-visual::before,
.sp-hero2-visual::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    pointer-events: none;
    z-index: 0;
}

.sp-hero2-visual::before {
    width: 130px;
    height: 130px;
    top: -34px;
    right: -22px;
    background: radial-gradient(circle, rgba(90, 175, 231, 0.5), transparent 70%);
    animation: spFloat 7s ease-in-out infinite;
}

.sp-hero2-visual::after {
    width: 90px;
    height: 90px;
    bottom: -28px;
    left: -18px;
    background: radial-gradient(circle, rgba(17, 116, 186, 0.55), transparent 70%);
    animation: spFloat 9s ease-in-out infinite reverse;
}

/* Pulsing status dot in the badge */
.sp-hero2-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #5aafe7;
    flex-shrink: 0;
    animation: spPulse 2.2s ease-out infinite;
}

@keyframes spFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes spPulse {
    0% { box-shadow: 0 0 0 0 rgba(90, 175, 231, 0.55); }
    70% { box-shadow: 0 0 0 9px rgba(90, 175, 231, 0); }
    100% { box-shadow: 0 0 0 0 rgba(90, 175, 231, 0); }
}

/* Staggered entrance */
.sp-hero2-badge { animation: spFadeUp 0.6s 0.05s both; }
.sp-hero2-title { animation: spFadeUp 0.6s 0.15s both; }
.sp-hero2-sub { animation: spFadeUp 0.6s 0.25s both; }
.sp-hero2-cta { animation: spFadeUp 0.6s 0.35s both; }
.sp-hero2-stats { animation: spFadeUp 0.6s 0.45s both; }
.sp-hero2-card { animation: spFadeUp 0.7s 0.3s both; }
.sp-hero2-pillar { opacity: 0; animation: spFadeIn 0.5s both; }
.sp-hero2-pillar:nth-child(1) { animation-delay: 0.55s; }
.sp-hero2-pillar:nth-child(2) { animation-delay: 0.7s; }
.sp-hero2-pillar:nth-child(3) { animation-delay: 0.85s; }

@media (prefers-reduced-motion: reduce) {
    .sp-hero2-badge,
    .sp-hero2-title,
    .sp-hero2-rotator,
    .sp-hero2-sub,
    .sp-hero2-cta,
    .sp-hero2-stats,
    .sp-hero2-card,
    .sp-hero2-pillar,
    .sp-hero2-dot,
    .sp-type-caret,
    .sp-hero2-visual,
    .term-cursor,
    .sp-hero2-visual::before,
    .sp-hero2-visual::after {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* =========================================================
   Hero cyber/tech terminal (right-side animated visual)
   ========================================================= */
.sp-hero2-visual {
    animation: spFadeUp 0.7s 0.3s both;
}

.sp-term {
    position: relative;
    z-index: 1;
    background: #0a1726;
    border: 1px solid rgba(90, 175, 231, 0.25);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.sp-term-bar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sp-term-dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
}

.sp-term-dot:nth-child(1) { background: rgba(90, 175, 231, 0.85); }
.sp-term-dot:nth-child(2) { background: rgba(90, 175, 231, 0.5); }
.sp-term-dot:nth-child(3) { background: rgba(90, 175, 231, 0.28); }

.sp-term-title {
    margin-left: 0.5rem;
    font-family: ui-monospace, 'SFMono-Regular', 'Consolas', 'Courier New', monospace;
    font-size: 0.76rem;
    letter-spacing: 0.02em;
    color: #7fa9c9;
}

.sp-term-body {
    position: relative;
    padding: 1.15rem 1.25rem 1.4rem;
    font-family: ui-monospace, 'SFMono-Regular', 'Consolas', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.75;
    color: #cfe6f7;
    min-height: 13.5rem;
}

.term-line {
    white-space: pre-wrap;
    word-break: break-word;
}

.term-line.cmd { color: #eaf3fb; }
.term-line.muted { color: #7fa9c9; }
.term-line.ok { color: #8fd3ff; }

.term-cursor {
    display: inline-block;
    width: 0.55em;
    height: 1.05em;
    transform: translateY(0.18em);
    margin-left: 2px;
    background: #5aafe7;
    animation: spBlink 1s step-end infinite;
}

/* faint scanline sheen over the screen */
.sp-term::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 3px);
    opacity: 0.6;
}

/* =========================================================
   Centered kinetic hero — full-width headline with a typed,
   cycling program phrase (chosen direction). No right card.
   ========================================================= */
.sp-hero2--center .sp-hero2-content {
    max-width: 54rem;
    margin: 0 auto;
    text-align: center;
}

.sp-hero2--center .sp-hero2-title {
    margin-bottom: 0.4rem;
}

.sp-hero2--center .sp-hero2-sub {
    margin-left: auto;
    margin-right: auto;
}

.sp-hero2--center .sp-hero2-cta {
    justify-content: center;
}

.sp-hero2--center .sp-hero2-stats {
    justify-content: center;
}

.sp-hero2-rotator {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.15;
    font-size: 1.7rem;
    min-height: 1.2em;
    margin-bottom: 1.6rem;
    animation: spFadeUp 0.6s 0.2s both;
}

@media (min-width: 768px) {
    .sp-hero2-rotator {
        font-size: 2.4rem;
    }
}

.sp-hero2-rotator-pre {
    color: #9fc6e6;
    font-weight: 600;
}

.sp-type {
    color: #5aafe7;
    font-weight: 800;
}

.sp-type-caret {
    display: inline-block;
    width: 3px;
    height: 1em;
    margin-left: 1px;
    border-radius: 2px;
    background: #5aafe7;
    transform: translateY(0.12em);
    animation: spBlink 1s step-end infinite;
}

@keyframes spBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* =====================================================================
   HOMEPAGE 2026 — Hero slideshow, Berita, Kenapa, Fasilitas, Lokasi
   (welcome-only scope; brochure-driven real data)
   ===================================================================== */

/* ---------- Hero slideshow ---------- */
.hp-hero-slider {
    position: relative;
    height: clamp(440px, 72vh, 680px);
    overflow: hidden;
    background: #0d3a5f;
}

.hp-slides,
.hp-slide {
    position: absolute;
    inset: 0;
}

.hp-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease;
    z-index: 1;
}

.hp-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hp-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
}

.hp-slide.is-active .hp-slide-bg {
    animation: hpKenburns 8s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
    .hp-slide.is-active .hp-slide-bg { animation: none; transform: none; }
    .hp-slide { transition: none; }
}

.hp-slide-bg.is-fallback {
    background:
        radial-gradient(1200px 500px at 80% -10%, rgba(90, 175, 231, 0.35), transparent 60%),
        linear-gradient(135deg, #0d5a8f 0%, #1174ba 55%, #0d3a5f 100%);
}

.hp-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 35, 58, 0.82) 0%, rgba(8, 35, 58, 0.55) 45%, rgba(8, 35, 58, 0.15) 100%);
}

.hp-slide-inner {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
}

.hp-slide-content {
    max-width: 40rem;
    color: #fff;
}

.hp-slide-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #bfe0f7;
    margin-bottom: 1rem;
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

.hp-slide-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0 0 1rem;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.hp-slide-sub {
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 1.75rem;
    max-width: 34rem;
}

.hp-slide-btn {
    animation: spFadeUp 0.6s 0.1s both;
}

/* Slider controls */
.hp-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(8, 35, 58, 0.35);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(4px);
}

.hp-slider-arrow svg { width: 1.4rem; height: 1.4rem; }
.hp-slider-arrow.prev { left: 1.25rem; }
.hp-slider-arrow.next { right: 1.25rem; }
.hp-slider-arrow:hover { background: #1174ba; }

.hp-slider-dots {
    position: absolute;
    bottom: 1.4rem;
    left: 0;
    right: 0;
    z-index: 4;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.hp-dot {
    width: 30px;
    height: 5px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: background 0.25s ease, width 0.25s ease;
}

.hp-dot.is-active {
    background: #fff;
    width: 46px;
}

@media (max-width: 640px) {
    .hp-slider-arrow { width: 2.4rem; height: 2.4rem; }
    .hp-slider-arrow.prev { left: 0.6rem; }
    .hp-slider-arrow.next { right: 0.6rem; }
}

/* ---------- Berita cards ---------- */
.hp-berita-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 700px) {
    .hp-berita-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
    .hp-berita-grid { grid-template-columns: repeat(3, 1fr); }
}

.hp-berita-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e6eef5;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 6px 24px rgba(13, 58, 95, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hp-berita-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(13, 58, 95, 0.14);
    border-color: #bfe0f7;
}

.hp-berita-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef5fb;
}

.hp-berita-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hp-berita-card:hover .hp-berita-media img { transform: scale(1.06); }

.hp-berita-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d5a8f, #1174ba);
}

.hp-berita-fallback span {
    color: rgba(255, 255, 255, 0.92);
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    letter-spacing: 0.12em;
    font-size: 0.9rem;
}

.hp-berita-body {
    padding: 1.25rem 1.35rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hp-berita-date {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1174ba;
    margin-bottom: 0.5rem;
}

.hp-berita-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    color: #1f2937;
    margin: 0 0 0.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hp-berita-excerpt {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #5a6b7b;
    margin: 0 0 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hp-berita-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: #0d5a8f;
}

.hp-berita-card:hover .hp-berita-link .sp-arrow-btn { transform: translateX(3px); }

/* ---------- Kenapa POLTEVARA ---------- */
.hp-why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 600px) {
    .hp-why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
    .hp-why-grid { grid-template-columns: repeat(4, 1fr); }
}

.hp-why-card {
    background: #fff;
    border: 1px solid #e6eef5;
    border-radius: 16px;
    padding: 1.5rem 1.4rem;
    box-shadow: 0 6px 24px rgba(13, 58, 95, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hp-why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(13, 58, 95, 0.12);
}

.hp-why-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #e9f4fc, #d4eaf8);
    color: #0d5a8f;
    margin-bottom: 1rem;
}

.hp-why-ico .pmb-ico { width: 1.5rem; height: 1.5rem; }

.hp-why-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.4rem;
}

.hp-why-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #5a6b7b;
    margin: 0;
}

/* ---------- Program studi: prospek karir block ---------- */
.hp-prodi-career {
    margin: 0.25rem 0 0.5rem;
}

.hp-prodi-career-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1174ba;
    margin-bottom: 0.5rem;
}

/* ---------- Fasilitas ---------- */
.hp-fasilitas {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 900px) {
    .hp-fasilitas { grid-template-columns: 1.4fr 1fr; }
}

.hp-fasilitas-block {
    background: #fff;
    border: 1px solid #e6eef5;
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: 0 6px 24px rgba(13, 58, 95, 0.05);
}

.hp-fasilitas-support {
    background: linear-gradient(160deg, #0d5a8f, #1174ba);
    border-color: transparent;
}

.hp-fasilitas-head {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 1.1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #eef2f6;
}

.hp-fasilitas-support .hp-fasilitas-head {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.hp-fasilitas-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.hp-fasilitas-block:not(.hp-fasilitas-support) .hp-fasilitas-list {
    grid-template-columns: 1fr;
}

@media (min-width: 600px) {
    .hp-fasilitas-block:not(.hp-fasilitas-support) .hp-fasilitas-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.hp-fasilitas-list li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.92rem;
    line-height: 1.4;
    color: #374151;
}

.hp-fasilitas-support .hp-fasilitas-list li { color: rgba(255, 255, 255, 0.95); }

.hp-fasilitas-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    flex-shrink: 0;
    border-radius: 9px;
    background: #eef5fb;
    color: #0d5a8f;
}

.hp-fasilitas-ico .pmb-ico { width: 1.15rem; height: 1.15rem; }

.hp-fasilitas-support .hp-fasilitas-ico {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

/* ---------- Lokasi & Kontak ---------- */
.hp-lokasi {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

@media (min-width: 900px) {
    .hp-lokasi { grid-template-columns: 1.4fr 1fr; }
}

.hp-lokasi-map {
    position: relative;
    min-height: 320px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e6eef5;
    box-shadow: 0 6px 24px rgba(13, 58, 95, 0.07);
}

.hp-lokasi-map iframe { display: block; width: 100%; height: 100%; min-height: 320px; }

.hp-lokasi-info {
    background: #fff;
    border: 1px solid #e6eef5;
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: 0 6px 24px rgba(13, 58, 95, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.hp-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.hp-contact-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    flex-shrink: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #e9f4fc, #d4eaf8);
    color: #0d5a8f;
}

.hp-contact-ico .pmb-ico { width: 1.25rem; height: 1.25rem; }

.hp-contact-label {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #98a7b5;
    margin-bottom: 0.15rem;
}

.hp-contact-value {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #1f2937;
    font-weight: 500;
}

.hp-contact-link { text-decoration: none; transition: color 0.2s ease; }
.hp-contact-link:hover { color: #1174ba; }

.hp-lokasi-cta { margin-top: 0.4rem; align-self: flex-start; }

/* ---------- Berita pages (index + detail) ---------- */
.hp-page-hero {
    background:
        radial-gradient(900px 360px at 85% -20%, rgba(90, 175, 231, 0.35), transparent 60%),
        linear-gradient(135deg, #0d5a8f 0%, #1174ba 60%, #0d3a5f 100%);
    color: #fff;
    padding: 6.5rem 0 3rem;
}

.hp-page-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin: 0 0 0.6rem;
}

.hp-page-hero-sub {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 38rem;
    margin: 0;
}

.hp-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: #5a6b7b;
}

.hp-empty .sp-side-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 14px;
    background: #eef5fb;
    color: #0d5a8f;
    margin-bottom: 1rem;
}

.hp-empty h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.4rem;
}

.hp-article { padding-top: 6.5rem; }

.hp-article-container { max-width: 820px; }

.hp-article-back {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #0d5a8f;
    text-decoration: none;
    margin-bottom: 1.25rem;
}

.hp-article-back .sp-arrow-btn { background: #eef5fb; color: #0d5a8f; }

.hp-article-date {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1174ba;
    margin-bottom: 0.75rem;
}

.hp-article-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    color: #1f2937;
    margin: 0 0 1.5rem;
}

.hp-article-cover {
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 1.75rem;
    border: 1px solid #e6eef5;
}

.hp-article-cover img { width: 100%; display: block; }

.hp-article-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #374151;
}

.hp-article-body p { margin: 0 0 1.2rem; }

.hp-article-lead {
    font-size: 1.18rem;
    line-height: 1.7;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 1.4rem;
}

/* Rich text (TinyMCE output) inside the article body */
.hp-article-body strong,
.hp-article-body b { font-weight: 700; color: #1f2937; }
.hp-article-body em,
.hp-article-body i { font-style: italic; }
.hp-article-body u { text-decoration: underline; }
.hp-article-body s,
.hp-article-body strike { text-decoration: line-through; }

.hp-article-body h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.25;
    margin: 2rem 0 0.9rem;
}

.hp-article-body h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
    margin: 1.6rem 0 0.7rem;
}

.hp-article-body ul,
.hp-article-body ol {
    margin: 0 0 1.2rem;
    padding-left: 1.5rem;
}

.hp-article-body ul { list-style: disc; }
.hp-article-body ol { list-style: decimal; }
.hp-article-body li { margin-bottom: 0.45rem; }

.hp-article-body a {
    color: #1174ba;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hp-article-body a:hover { color: #0d5a8f; }

.hp-article-body blockquote {
    margin: 0 0 1.2rem;
    padding: 0.65rem 1.1rem;
    border-left: 4px solid #1174ba;
    background: #f0f7fc;
    color: #475569;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

.hp-article-body hr {
    border: 0;
    border-top: 1px solid #e6eef5;
    margin: 1.8rem 0;
}

