/* ============================================
   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: 2.5rem;
    width: auto;
    object-fit: contain;
}

/* 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;
}

.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;
}

/* 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: 4rem 0 0 0;
    position: relative;
}

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

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 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: 1.5rem;
    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: 3rem;
    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: 1.5rem;
}

.footer-info-item {
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    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: 1rem;
    font-weight: 700;
    color: #f7f7f7;
    margin-bottom: 0.5rem;
}

.footer-info-subtitle {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
}

.footer-action-link {
    color: #1174ba;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    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: 2rem 0;
    margin-top: 2rem;
}

.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;
}

/* 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;
}

@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;
}

