:root {
            --primary-blue: #4A90E2;
            --light-blue: #E3F2FD;
            --dark-blue: #1565C0;
            --accent-blue: #64B5F6;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            overflow-x: hidden;
        }

        /* Navbar Styles */
        .navbar {
            background: rgba(255, 255, 255, 0.95) !important;
            backdrop-filter: blur(10px);
            box-shadow: 0 2px 20px rgba(74, 144, 226, 0.1);
            transition: all 0.3s ease;
            padding: 0.5rem 0;
        }

        .navbar-brand {
            font-weight: 700;
            color: var(--primary-blue) !important;
            font-size: 1.1rem;
        }

        /* Responsive brand name */
        .brand-full {
            display: inline;
        }

        .brand-short {
            display: none;
        }

        @media (max-width: 1400px) {
            .brand-full {
                display: none;
            }
            .brand-short {
                display: inline;
            }
        }

        /* Compact nav links for better fit */
        .nav-link {
            color: #333 !important;
            font-weight: 500;
            font-size: 0.8rem;
            padding: 0.5rem 0.4rem !important;
            margin: 0 0.1rem;
            transition: color 0.3s ease;
            white-space: nowrap;
        }

        .nav-link:hover,
        .nav-link.active {
            color: var(--primary-blue) !important;
        }

        /* Dropdown Styles */
        .dropdown-menu {
            border: none;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            padding: 0.5rem 0;
            margin-top: 0.5rem;
            min-width: 180px;
            font-size: 0.85rem;
        }

        .dropdown-item {
            padding: 0.5rem 1rem;
            color: #333;
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
        }

        .dropdown-item:hover,
        .dropdown-item.active {
            background-color: var(--light-blue);
            color: var(--primary-blue);
        }

        .dropdown-toggle::after {
            margin-left: 0.3rem;
            vertical-align: middle;
            font-size: 0.7rem;
        }

        /* Nested Dropdown (Level 3) - Display to the LEFT */
        .dropend {
            position: relative;
        }

        .dropend .dropdown-toggle::after {
            display: inline-block;
            margin-left: 0.5rem;
            vertical-align: 0.1em;
            content: "";
            border-top: 0.3em solid transparent;
            border-right: 0.3em solid;
            border-bottom: 0.3em solid transparent;
            border-left: 0;
            float: right;
            margin-top: 0.5rem;
        }

        .dropend .dropdown-menu.submenu {
            position: absolute;
            top: 0;
            right: 100%;
            left: auto;
            margin-top: 0;
            margin-right: 0.125rem;
            margin-left: 0;
        }

        .dropend:hover > .dropdown-menu.submenu {
            display: block;
        }

        /* Mobile adjustments for nested menu */
        @media (max-width: 991px) {
            .dropend .dropdown-menu.submenu {
                position: static;
                margin-left: 1rem;
                box-shadow: none;
                border-left: 2px solid var(--light-blue);
            }

            .dropend .dropdown-toggle::after {
                transform: rotate(90deg);
            }
        }

        /* Search Form Styles - Compact */
        .search-wrapper {
            position: relative;
            display: flex;
            align-items: center;
            width: 200px;
        }

        @media (max-width: 1400px) {
            .search-wrapper {
                width: 180px;
            }
        }

        .search-input {
            width: 100%;
            padding: 0.5rem 2.5rem 0.5rem 0.8rem;
            border: 2px solid transparent;
            border-radius: 20px;
            background-color: var(--light-blue);
            color: #333;
            font-size: 0.85rem;
            transition: all 0.3s ease;
        }

        .search-input::placeholder {
            color: #7a9bc4;
        }

        .search-input:focus {
            outline: none;
            border-color: var(--primary-blue);
            background-color: #fff;
            box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
        }

        .btn-search {
            position: absolute;
            right: 4px;
            background-color: var(--primary-blue);
            color: white;
            border: none;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            padding: 0;
        }

        .btn-search:hover {
            background-color: var(--dark-blue);
            transform: scale(1.05);
        }

        .btn-search i {
            font-size: 0.9rem;
        }

        /* Responsive untuk tablet dan mobile */
        @media (max-width: 1199px) {
            .search-wrapper {
                width: 100%;
                margin-top: 1rem;
            }

            .search-input {
                padding: 0.6rem 3rem 0.6rem 1rem;
            }

            .btn-search {
                width: 35px;
                height: 35px;
            }
        }

        /* Extra large screens - full layout */
        @media (min-width: 1400px) {
            .nav-link {
                font-size: 0.85rem;
                padding: 0.5rem 0.5rem !important;
                margin: 0 0.15rem;
            }

            .search-wrapper {
                width: 200px;
            }
        }

        /* Hero Slider */
        .hero-slider {
            height: 100vh;
            position: relative;
        }

        .carousel-item {
            height: 100vh;
            background-size: cover;
            background-position: center;
            position: relative;
        }

        .carousel-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(74, 144, 226, 0.8), rgba(21, 101, 192, 0.6));
        }

        .carousel-caption {
            top: 50%;
            transform: translateY(-50%);
            bottom: auto;
        }

        .carousel-caption h1 {
            font-size: 3.5rem;
            font-weight: 700;
            text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
            animation: fadeInUp 1s ease;
        }

        .carousel-caption p {
            font-size: 1.3rem;
            margin-top: 20px;
            animation: fadeInUp 1.2s ease;
        }

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

        /* Parallax Sections */
        .parallax {
            background-attachment: fixed;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            position: relative;
        }

        .parallax-overlay {
            background: rgba(74, 144, 226, 0.85);
            padding: 100px 0;
        }

        /* Post Section */
        .post-section {
            padding: 80px 0;
            background: linear-gradient(180deg, #ffffff 0%, var(--light-blue) 100%);
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--dark-blue);
            margin-bottom: 50px;
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--primary-blue);
        }

        .post-card {
            border: none;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 25px rgba(74, 144, 226, 0.15);
            transition: all 0.3s ease;
            height: 100%;
        }

        .post-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(74, 144, 226, 0.25);
        }

        .post-card img {
            height: 200px;
            object-fit: cover;
        }

        .post-card .card-body {
            padding: 25px;
        }

        .post-date {
            color: var(--primary-blue);
            font-weight: 600;
            font-size: 0.9rem;
        }

        .btn-outline-primary {
            border: 2px solid var(--primary-blue);
            color: var(--primary-blue);
            font-weight: 600;
            border-radius: 50px;
            transition: all 0.3s ease;
        }

        .btn-outline-primary:hover {
            background: var(--primary-blue);
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(74, 144, 226, 0.3);
        }

        /* Profile Section */
        /* Profile Section */
        .profile-section {
            padding: 80px 0;
            background: linear-gradient(180deg, #ffffff 0%, var(--light-blue) 100%);
        }

        /* Accreditation Card */
        .accreditation-card {
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 5px 25px rgba(74, 144, 226, 0.15);
            height: 100%;
        }

        .accreditation-card .card-title {
            color: var(--dark-blue);
            font-size: 1.5rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .faculty-group {
            border-bottom: 1px solid #e9ecef;
            padding-bottom: 15px;
        }

        .faculty-group:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

        .faculty-name {
            color: var(--primary-blue);
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 15px;
        }

        .programs-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .program-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 15px;
            background: var(--light-blue);
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .program-item:hover {
            background: #d0e7fc;
            transform: translateX(5px);
        }

        .program-info {
            display: flex;
            align-items: center;
            gap: 10px;
            flex: 1;
        }

        .program-level {
            font-size: 0.75rem;
            font-weight: 700;
            padding: 4px 8px;
        }

        .program-name {
            color: #333;
            font-weight: 500;
            font-size: 0.95rem;
        }

        .accreditation-badge {
            padding: 6px 12px;
            border-radius: 20px;
            color: white;
            font-weight: 700;
            font-size: 0.85rem;
            min-width: 50px;
            text-align: center;
        }

        /* Organization Card */
        .organization-card {
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 5px 25px rgba(74, 144, 226, 0.15);
            height: 100%;
        }

        .organization-card .card-title {
            color: var(--dark-blue);
            font-size: 1.5rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        /* Accordion Styles */
        .accordion-item {
            border: none;
            margin-bottom: 10px;
            border-radius: 10px !important;
            overflow: hidden;
        }

        .accordion-button {
            background: var(--light-blue);
            color: var(--dark-blue);
            font-weight: 600;
            border: none;
            padding: 15px 20px;
        }

        .accordion-button:not(.collapsed) {
            background: var(--primary-blue);
            color: white;
            box-shadow: none;
        }

        .accordion-button:focus {
            box-shadow: none;
            border-color: transparent;
        }

        .accordion-button::after {
            filter: brightness(0) invert(1);
        }

        .accordion-button.collapsed::after {
            filter: none;
        }

        .accordion-body {
            padding: 20px;
            background: white;
        }

        .position-title {
            font-size: 1rem;
        }

        /* Staff Card */
        .staff-card {
            display: flex;
            gap: 15px;
            padding: 15px;
            background: var(--light-blue);
            border-radius: 10px;
            margin-bottom: 15px;
            transition: all 0.3s ease;
        }

        .staff-card:last-child {
            margin-bottom: 0;
        }

        .staff-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(74, 144, 226, 0.2);
        }

        .staff-photo {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            overflow: hidden;
            flex-shrink: 0;
            border: 3px solid white;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        }

        .staff-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .photo-placeholder {
            width: 100%;
            height: 100%;
            background: var(--primary-blue);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2.5rem;
        }

        .staff-info {
            flex: 1;
        }

        .staff-name {
            color: var(--dark-blue);
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .staff-nip {
            color: #666;
            font-size: 0.85rem;
            margin-bottom: 5px;
        }

        .staff-description {
            color: #777;
            font-size: 0.9rem;
            margin: 0;
            font-style: italic;
        }

        /* Responsive Styles */
        @media (max-width: 991px) {
            .profile-section {
                padding: 60px 0;
            }

            .accreditation-card,
            .organization-card {
                padding: 20px;
                margin-bottom: 20px;
            }

            .program-item {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }

            .accreditation-badge {
                align-self: flex-start;
            }
        }

        @media (max-width: 767px) {
            .staff-card {
                flex-direction: column;
                text-align: center;
                align-items: center;
            }

            .staff-photo {
                width: 100px;
                height: 100px;
            }
        }

        /* Event Section */
        .event-section {
            padding: 80px 0;
            background: linear-gradient(180deg, var(--light-blue) 0%, #ffffff 100%);
        }

        .event-card {
            background: white;
            border: none;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 25px rgba(74, 144, 226, 0.15);
            transition: all 0.3s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .event-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(74, 144, 226, 0.25);
        }

        .event-date {
            background: var(--primary-blue);
            color: white;
            padding: 15px;
            text-align: center;
            font-weight: 700;
        }

        .event-date .day {
            font-size: 2rem;
            display: block;
        }

        .event-content {
            padding: 25px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .event-content h4 {
            color: var(--dark-blue);
            margin-bottom: 15px;
        }

        .event-content p:last-child {
            margin-bottom: 0;
            flex: 1;
        }

        /* Footer */
        .footer {
            background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
            color: white;
            padding: 60px 0 20px;
        }

        .footer h5 {
            font-weight: 700;
            margin-bottom: 20px;
        }

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

        .footer a:hover {
            color: white;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            margin-top: 40px;
            padding-top: 20px;
            text-align: center;
        }

        .social-icons a {
            display: inline-block;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            text-align: center;
            line-height: 40px;
            margin: 0 5px;
            transition: all 0.3s ease;
        }

        .social-icons a:hover {
            background: white;
            color: var(--primary-blue) !important;
        }

        @media (max-width: 768px) {
            .carousel-caption h1 {
                font-size: 2rem;
            }

            .profile-content {
                flex-direction: column;
            }

            .section-title {
                font-size: 2rem;
            }
        }
