
        html {
            scroll-behavior: smooth;
            scroll-padding-top: 80px; 
        }

        body {
            font-family: 'Sarabun', sans-serif;

            background-color: #f0f9ff;
            color: #212529;
        }


        @keyframes gradient-animation {
            0%   { background-position: 0% 50%; }
            50%  { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        .rainbow-text {
            background: linear-gradient(45deg, #4361ee, #06d6a0, #f780b5, #8338ec);
            background-size: 200% 200%;
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            animation: gradient-animation 15s ease infinite;
            font-weight: 700; 
        }


        .card {
            background-color: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            
        }

        .profile-img-wrapper {
            padding: 6px;
            border-radius: 50%;
            display: inline-block;
            background: linear-gradient(45deg, #4361ee, #06d6a0, #f780b5, #8338ec);
            background-size: 400% 400%;
            animation: gradient-animation 20s ease infinite;
        }

        /* รูป Profile (ตามโจทย์: วงกลม) */
        .profile-img {
            border: 4px solid #fff;
            width: 150px; /* กำหนดขนาดให้ชัดเจน */
            height: 150px; /* กำหนดขนาดให้ชัดเจน */
            object-fit: cover; /* ป้องกันรูปบิดเบี้ยว */
            /* .rounded-circle ของ Bootstrap จะจัดการเรื่อง 50% */
        }

        /* --- ข้อกำหนด: เส้นแบ่ง <hr> (เพิ่มความคิดสร้างสรรค์) --- */
        hr.styled-hr {
            height: 3px;
            border: 0;
            opacity: 0.75;
            background-image: linear-gradient(to right, rgba(0, 0, 0, 0), #4361ee, #f780b5, rgba(0, 0, 0, 0));
        }

        /* --- Navbar Link Styling (New Addition) --- */
        .navbar-nav .nav-link {
            transition: color 0.2s ease-in-out, font-weight 0.2s ease-in-out;
            font-weight: 500; /* Set a base medium weight */
        }

        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link:focus {
            color: #4361ee; /* Theme blue from gradient */
            font-weight: 700; /* Make it bold */
        }
        /* --- End of New Addition --- */
