 /* CSS Reset */
       

        /* Dropdown styling */
        select {
            background-color: white;
        }

        select option {
            padding: 10px;
            background-color: white;
            color: #374151;
        }

        select option:hover,
        select option:focus,
        select option:active {
            background-color: #ede9fe;
            color: #6d28d9;
        }

        /* Blue highlight for academic level dropdown */
        #academic-level {
            background-color: white;
            color: grey;
            border-color: #2563eb;
        }

        #academic-level option {
            background-color: white;
            color: #374151;
            padding: 10px;
        }

        html, body {
            margin: 0;
            padding: 0;
            width: 100%;
            overflow-x: hidden;
        }

        /* Ensure all sections take full width */
        section {
            width: 100vw !important;
            max-width: 100vw !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
            box-sizing: border-box;
            position: relative;
            left: 0 !important;
            right: 0 !important;
        }

        /* Specific hero section full width styling */
        .hero-section {
            width: 100vw !important;
            max-width: 100vw !important;
            margin: 0 !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
            box-sizing: border-box !important;
            position: relative !important;
            left: 0 !important;
            right: 0 !important;
        }

        /* Hero section container should also take full width */
        .hero-section > div {
            width: 100vw !important;
            max-width: 100vw !important;
            margin: 0 !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
            box-sizing: border-box !important;
            position: relative !important;
            left: 0 !important;
            right: 0 !important;
        }

        /* Ensure hero section grid takes full available width */
        .hero-section .grid {
            width: 100vw !important;
            max-width: 100vw !important;
            margin: 0 !important;
            box-sizing: border-box !important;
        }

        /* Remove any max-width constraints on hero content */
        .hero-section .max-w-screen-xl,
        .hero-section .max-w-screen-2xl,
        .hero-section .max-w-7xl,
        .hero-section .max-w-6xl,
        .hero-section .max-w-5xl,
        .hero-section .max-w-4xl {
            max-width: 100% !important;
        }

        /* Responsive hero section padding adjustments - apply to grid instead of container */
        @media (max-width: 640px) {
            .hero-section .grid {
                padding-left: 0 !important;
                padding-right: 0 !important;
            }
        }

        @media (min-width: 641px) and (max-width: 1024px) {
            .hero-section .grid {
                padding-left: 0.25rem !important;
                padding-right: 0.25rem !important;
            }
        }

        @media (min-width: 1025px) {
            .hero-section .grid {
                padding-left: 0.5rem !important;
                padding-right: 2rem !important;
            }
        }

        /* Specific adjustment for 1440px and similar large laptop dimensions */
        @media (min-width: 1400px) and (max-width: 1500px) {
            .hero-section .grid {
                padding-left: 0.25rem !important;
                padding-right: 0.5rem !important;
                padding-top: 50px !important;
            }
        }

        /* Additional mobile padding reductions for very small screens */
        @media (max-width: 480px) {
            .hero-section .grid {
                padding-left: 0 !important;
                padding-right: 0 !important;
            }

            .hero-section {
                padding-bottom: 0.5rem !important;
            }
        }

        @media (max-width: 360px) {
            .hero-section .grid {
                padding-left: 0 !important;
                padding-right: 0 !important;
            }

            .hero-section {
                padding-bottom: 0.25rem !important;
            }
        }

        /* Additional mobile optimizations for minimal padding */
        @media (max-width: 768px) {
            .hero-section {
                padding-top: 0 !important;
                margin-top: -0.25rem !important;
            }

            .hero-section .grid {
                gap: 0.125rem !important;
                margin: 0 !important;
                padding-top: 0 !important;
            }

            /* Reduce margins on hero content */
            .hero-section h1 {
                margin-bottom: 0 !important;
                margin-top: 10px !important; ;
            }

            .hero-section .content-spacing-reduced {
                margin-top: 0 !important;
                margin-bottom: 0 !important;
                padding-top: 0 !important;
                padding-bottom: 0 !important;
            }

            /* Remove spacing from video container */
            .video-container-wrapper {
                margin-top: 0.125rem !important;
                margin-bottom: 0.125rem !important;
            }

            /* Reduce spacing in left column */
            .hero-section .flex.flex-col {
                gap: 0 !important;
            }

            /* Reduce top margin of right column */
            .hero-section .mt-1 {
                margin-top: 0.25rem !important;
            }
        }

        /* Extra small mobile devices */
        @media (max-width: 480px) {
            .hero-section {
                margin-top: -0.5rem !important;
            }

            .hero-section .grid {
                gap: 0 !important;
            }

            .hero-section h1 {
                margin-bottom: 0 !important;
                margin-top: 0 !important;
            }

            .hero-section .content-spacing-reduced {
                margin-top: 0 !important;
                margin-bottom: 0 !important;
            }

            .video-container-wrapper {
                margin-top: 0 !important;
                margin-bottom: 0 !important;
            }

            .hero-section .mt-1 {
                margin-top: 0.125rem !important;
            }
        }

        /* Very small mobile devices */
        @media (max-width: 360px) {
            .hero-section {
                margin-top: -0.75rem !important;
            }
        }

        :root {
            --primary-color: #5B21B6; /* Purple color from logo */
            --secondary-color: #4338CA; /* Indigo color as secondary */
            --accent-color: #7C3AED; /* Lighter purple for accents */
            --vh: 1vh; /* Variable for viewport height, will be set by JS */
        }

        .form-container {
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        /* Custom form styles */
        input, select, textarea {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        input:focus, select:focus, textarea:focus {
            border-color: #7c3aed !important;
        }

        label {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            font-weight: 500;
        }

        /* Scholarship form animation */
        .scholarship-form-container {
            position: relative;
            overflow: hidden;
        }

        .scholarship-form-container::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(
                to bottom right,
                rgba(124, 58, 237, 0.05),
                rgba(99, 102, 241, 0.05),
                rgba(124, 58, 237, 0.05)
            );
            transform: rotate(30deg);
            z-index: -1;
        }

        .rating-stars {
            color: #FFD700; /* Gold color for stars */
        }

        /* Slideshow animations */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes fadeOut {
            from { opacity: 1; transform: translateY(0); }
            to { opacity: 0; transform: translateY(-10px); }
        }

        .slideshow-indicator {
            box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
        }



        [id^="class"]:not(.hidden),
        [id="undergraduate"]:not(.hidden),
        [id="postgraduate"]:not(.hidden) {
            animation: fadeIn 0.5s ease-out forwards;
        }


        /* Add padding to body for fixed navbar */
        body {
            margin: 0 !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
            padding-bottom: 0 !important;
            overflow-x: hidden;
            width: 100vw;
            max-width: 100vw;
            position: relative;
            left: 0;
            right: 0;
        }



        /* Blob animation */
        @keyframes blob {
            0% {
                transform: translate(0px, 0px) scale(1);
            }
            33% {
                transform: translate(30px, -50px) scale(1.1);
            }
            66% {
                transform: translate(-20px, 20px) scale(0.9);
            }
            100% {
                transform: translate(0px, 0px) scale(1);
            }
        }

        .animate-blob {
            animation: blob 7s infinite;
        }

        .animation-delay-2000 {
            animation-delay: 2s;
        }

        .animation-delay-4000 {
            animation-delay: 4s;
        }

        /* Grid pattern background */
        .bg-grid-pattern {
            background-image:
                linear-gradient(to right, rgba(107, 33, 168, 0.1) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(107, 33, 168, 0.1) 1px, transparent 1px);
            background-size: 20px 20px;
        }



        @keyframes glowPulse {
            0%, 100% { box-shadow: 0 0 20px rgba(124, 58, 237, 0.4); }
            50% { box-shadow: 0 0 40px rgba(124, 58, 237, 0.7); }
        }

        .glow-animation {
            animation: glowPulse 3s ease-in-out infinite;
        }

        @keyframes rotateIn {
            from { transform: rotate(-10deg) scale(0.8); opacity: 0; }
            to { transform: rotate(0) scale(1); opacity: 1; }
        }

        .rotate-in {
            animation: rotateIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
        }

        @keyframes slideInLeft {
            from { transform: translateX(-50px); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }

        .slide-in-left {
            animation: slideInLeft 0.8s ease-out forwards;
        }

        @keyframes slideInRight {
            from { transform: translateX(50px); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }

        .slide-in-right {
            animation: slideInRight 0.8s ease-out forwards;
        }

        .animate-slide-in-right {
            animation: slideInRight 0.8s ease-out forwards;
        }

        @keyframes scaleIn {
            from { transform: scale(0.8); opacity: 0; }
            to { transform: scale(1); opacity: 1; }
        }

        .scale-in {
            animation: scaleIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
        }

        @keyframes shimmer {
            0% { background-position: -200% 0; }
            100% { background-position: 200% 0; }
        }

        .shimmer-effect {
            background: linear-gradient(90deg,
                rgba(255,255,255,0) 0%,
                rgba(255,255,255,0.8) 50%,
                rgba(255,255,255,0) 100%);
            background-size: 200% 100%;
            animation: shimmer 2s infinite;
        }

        /* 3D Card Effect */
        .card-3d {
            transform-style: preserve-3d;
            transition: transform 0.5s;
        }

        .card-3d:hover {
            transform: rotateY(10deg) rotateX(5deg);
        }

        /* Particle animation */
        .particle {
            position: absolute;
            border-radius: 50%;
            pointer-events: none;
            opacity: 0;
            animation: particleAnimation 3s ease-in-out infinite;
        }

        /* Scholarship notification badge */
        .scholarship-notification {
            position: absolute;
            bottom: 0;
            right: 0;
            background: linear-gradient(135deg, #ff6b6b, #ff8e53);
            color: white;
            padding: 8px 12px;
            border-radius: 20px 0 0 0; /* Rounded only on top-left corner */
            font-size: 0.9rem;
            font-weight: 600;
            box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
            z-index: 20;
            transform-origin: bottom right;
            animation: notificationPulse 3s infinite alternate;
            display: flex;
            align-items: center;
            gap: 6px;
            max-width: 200px;
            transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
            cursor: pointer;
        }

        /* Responsive notification badge */
        @media (max-width: 768px) {
            .scholarship-notification {
                padding: 6px 10px;
                font-size: 0.85rem;
                max-width: 180px;
            }
        }

        @media (max-width: 480px) {
            .scholarship-notification {
                padding: 5px 8px;
                font-size: 0.75rem;
                max-width: 160px;
            }
        }

        @media (max-width: 360px) {
            .scholarship-notification {
                padding: 4px 6px;
                font-size: 0.7rem;
                max-width: 140px;
            }
        }

        .scholarship-notification:hover {
            background: linear-gradient(135deg, #ff5252, #ff7043);
            transform: scale(1.05) translateY(-5px);
            box-shadow: 0 8px 20px rgba(255, 107, 107, 0.6);
        }

        .scholarship-notification-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            animation: iconBounce 2s infinite;
        }

        @keyframes notificationPulse {
            0% {
                transform: scale(1) translateY(0);
                box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
            }
            100% {
                transform: scale(1.05) translateY(-5px);
                box-shadow: 0 8px 20px rgba(255, 107, 107, 0.6);
            }
        }

        /* Responsive notification pulse animation */
        @media (max-width: 480px) {
            @keyframes notificationPulse {
                0% {
                    transform: scale(1) translateY(0);
                    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.4);
                }
                100% {
                    transform: scale(1.03) translateY(-3px);
                    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.6);
                }
            }
        }

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

        @keyframes particleAnimation {
            0% { transform: translate(0, 0) scale(0); opacity: 0; }
            50% { opacity: 0.8; }
            100% { transform: translate(var(--tx), var(--ty)) scale(1); opacity: 0; }
        }

        /* Typing animation */
        .typing-animation::after {
            content: '|';
            animation: typing 1s infinite;
        }

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

        /* Scholarship icon animation */
        .scholarship-icon {
            display: inline-block;
            margin-left: 0.5rem;
            animation: scholarshipBounce 2s ease-in-out infinite;
            font-size: 1.2em;
            transform-origin: center;
        }

        @keyframes scholarshipBounce {
            0%, 100% {
                transform: translateY(0) rotate(0deg) scale(1);
            }
            25% {
                transform: translateY(-8px) rotate(-5deg) scale(1.1);
            }
            50% {
                transform: translateY(-12px) rotate(0deg) scale(1.15);
            }
            75% {
                transform: translateY(-8px) rotate(5deg) scale(1.1);
            }
        }

        /* Gradient border animation */
        @keyframes borderGradient {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        .animated-border {
            position: relative;
            border-radius: 0.5rem;
            z-index: 0;
        }

        .animated-border::before {
            content: '';

        /* Dynamic Course Cards Styles */
        .course-slider-container {
            height: 560px;
            position: relative;
            overflow: hidden;
            background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(99, 102, 241, 0.1));
            border-radius: 20px;
            padding: 40px 0;
        }

        .course-track {
            display: flex;
            gap: 32px;
            animation: slideRightToLeft 30s linear infinite;
            animation-play-state: running !important;
            animation-fill-mode: both;
            animation-delay: 0s !important;
            width: max-content;
            will-change: transform;
            backface-visibility: hidden;
            -webkit-transform: translateZ(0);
            transform: translateZ(0);
        }

        /* Ensure animation starts immediately */
        .course-track.loaded {
            animation-delay: 0s;
            visibility: visible !important;
            opacity: 1 !important;
        }

        /* Force immediate animation start */
        .course-track:not(.loaded) {
            animation-delay: 0s;
        }

        /* Override any potential conflicts */
        #courseTrack {
            animation: slideRightToLeft 20s linear infinite !important;
            animation-play-state: running !important;
            animation-delay: 0s !important;
            transform: translateZ(0) !important;
        }

        /* Debug: Make animation more visible */
        .course-track {
            border: 2px solid red !important;
            background: rgba(255, 0, 0, 0.1) !important;
        }

        @keyframes slideRightToLeft {
            0% {
                transform: translateX(100%);
            }
            100% {
                transform: translateX(-100%);
            }
        }

        .category-card {
            flex-shrink: 0;
            width: 520px;
            height: 460px;
            position: relative;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .category-shape {
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
            border-radius: 24px;
            padding: 48px 36px;
            position: relative;
            overflow: hidden;
            box-shadow:
                0 15px 40px rgba(0, 0, 0, 0.12),
                0 2px 12px rgba(0, 0, 0, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.8);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .category-shape::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg,
                rgba(124, 58, 237, 0.05) 0%,
                rgba(99, 102, 241, 0.05) 50%,
                rgba(168, 85, 247, 0.05) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 1;
        }

        .category-card:hover .category-shape::before {
            opacity: 1;
        }

        .category-content {
            position: relative;
            z-index: 2;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .category-icon {
            margin-bottom: 32px;
            padding: 28px;
            background: linear-gradient(135deg, #f8fafc, #e2e8f0);
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .category-name {
            font-size: 1.75rem;
            font-weight: 700;
            color: #1f2937;
            margin-bottom: 24px;
            transition: all 0.3s ease;
        }

        .rating-stars {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 20px;
        }

        .rating-stars span:first-child {
            color: #fbbf24;
            font-size: 1rem;
        }

        .apply-button {
            background: linear-gradient(135deg, #7c3aed, #8b5cf6);
            color: white;
            padding: 16px 32px;
            border-radius: 30px;
            border: none;
            font-weight: 600;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: auto;
            box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
        }

        .apply-button:hover {
            background: linear-gradient(135deg, #6d28d9, #7c3aed);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
        }

        /* Hover Effects */
        .category-card:hover {
            transform: translateY(-10px) scale(1.05);
        }

        .category-card:hover .category-shape {
            box-shadow:
                0 20px 40px rgba(124, 58, 237, 0.2),
                0 10px 20px rgba(0, 0, 0, 0.1);
            border-color: rgba(124, 58, 237, 0.3);
        }

        .category-card:hover .category-icon {
            background: linear-gradient(135deg, #7c3aed, #8b5cf6);
            color: white;
            transform: scale(1.1) rotate(5deg);
        }

        .category-card:hover .category-name {
            color: #7c3aed;
            transform: scale(1.05);
        }

        /* Golden Star Badge */
        .golden-star-badge {
            position: absolute;
            top: -12px;
            right: -12px;
            width: 44px;
            height: 44px;
            background: linear-gradient(135deg, #fbbf24, #f59e0b);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
            box-shadow: 0 6px 16px rgba(251, 191, 36, 0.5);
            animation: starPulse 2s ease-in-out infinite;
        }

        .golden-star-badge svg {
            width: 22px;
            height: 22px;
            color: white;
        }

        @keyframes starPulse {
            0%, 100% {
                transform: scale(1);
                box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
            }
            50% {
                transform: scale(1.1);
                box-shadow: 0 6px 16px rgba(251, 191, 36, 0.6);
            }
        }

        /* Commerce Card Special Styling */
        .commerce-card .category-shape {
            background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 100%);
            border: 2px solid #f59e0b;
        }

        .commerce-notification {
            background: linear-gradient(135deg, #f59e0b, #d97706) !important;
        }

        .commerce-apply-button {
            background: linear-gradient(135deg, #f59e0b, #d97706) !important;
        }

        .commerce-apply-button:hover {
            background: linear-gradient(135deg, #d97706, #b45309) !important;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .course-slider-container {
                height: 490px;
                padding: 30px 0;
            }

            .category-card {
                width: 320px;
                height: 370px;
            }

            .category-shape {
                height: 370px;
                padding: 32px 24px;
                border-radius: 20px;
            }

            .category-name {
                font-size: 1.4rem;
                margin-bottom: 20px;
            }

            .category-icon {
                padding: 24px;
                margin-bottom: 28px;
            }

            .rating-stars {
                margin-bottom: 18px;
            }

            .apply-button {
                padding: 14px 28px;
                font-size: 1.1rem;
            }

            .golden-star-badge {
                width: 38px;
                height: 38px;
                top: -10px;
                right: -10px;
            }

            .golden-star-badge svg {
                width: 18px;
                height: 18px;
            }
        }

        @media (max-width: 480px) {
            .course-slider-container {
                height: 420px;
                padding: 25px 0;
            }

            .category-card {
                width: 280px;
                height: 320px;
            }

            .category-shape {
                height: 320px;
                padding: 28px 20px;
                border-radius: 18px;
            }

            .category-name {
                font-size: 1.2rem;
                margin-bottom: 18px;
            }

            .category-icon {
                padding: 20px;
                margin-bottom: 24px;
            }

            .rating-stars {
                margin-bottom: 16px;
            }

            .apply-button {
                padding: 12px 24px;
                font-size: 1rem;
            }

            .golden-star-badge {
                width: 34px;
                height: 34px;
                top: -8px;
                right: -8px;
            }

            .golden-star-badge svg {
                width: 16px;
                height: 16px;
            }
        }
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(45deg, #7c3aed, #4f46e5, #6366f1, #8b5cf6, #7c3aed);
            background-size: 400% 400%;
            z-index: -1;
            border-radius: 0.6rem;
            animation: borderGradient 3s ease infinite;
        }

        /* Gradient animation for text */
        @keyframes gradient-x {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        .animate-gradient-x {
            background-size: 200% 100%;
            animation: gradient-x 3s ease infinite;
        }

        /* Hover scale for headings */
        .hover\:scale-102:hover {
            transform: scale(1.02);
        }

        /* Stats counter animations */
        .counter-wrapper {
            position: relative;
            overflow: hidden;
        }

        .counter-wrapper::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(to right, #7c3aed, #4f46e5);
            transition: width 0.3s ease;
        }

        .counter-wrapper:hover::after {
            width: 100%;
        }

        .stat-counter {
            display: inline-block;
            transition: all 0.3s ease;
        }

        .stat-counter.animate {
            animation: countPulse 0.5s ease-out;
        }

        @keyframes countPulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }

        .rating-stars {
            display: inline-block;
            position: relative;
            overflow: hidden;
        }

        .rating-stars::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 200%;
            height: 100%;
            background: linear-gradient(90deg,
                rgba(255,255,255,0) 0%,
                rgba(255,255,255,0.8) 50%,
                rgba(255,255,255,0) 100%);
            animation: starShimmer 2s infinite;
        }

        @keyframes starShimmer {
            0% { transform: translateX(0%); }
            100% { transform: translateX(100%); }
        }

        @keyframes glowPulse {
            0%, 100% { box-shadow: 0 0 20px rgba(124, 58, 237, 0.4); }
            50% { box-shadow: 0 0 40px rgba(124, 58, 237, 0.7); }
        }

        .glow-animation {
            animation: glowPulse 3s ease-in-out infinite;
        }

        @keyframes rotateIn {
            from { transform: rotate(-10deg) scale(0.8); opacity: 0; }
            to { transform: rotate(0) scale(1); opacity: 1; }
        }

        .rotate-in {
            animation: rotateIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
        }

        @keyframes slideInLeft {
            from { transform: translateX(-50px); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }

        .slide-in-left {
            animation: slideInLeft 0.8s ease-out forwards;
        }

        @keyframes slideInRight {
            from { transform: translateX(50px); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }

        .slide-in-right {
            animation: slideInRight 0.8s ease-out forwards;
        }

        @keyframes scaleIn {
            from { transform: scale(0.8); opacity: 0; }
            to { transform: scale(1); opacity: 1; }
        }

        .scale-in {
            animation: scaleIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
        }

        @keyframes shimmer {
            0% { background-position: -200% 0; }
            100% { background-position: 200% 0; }
        }

        .shimmer-effect {
            background: linear-gradient(90deg,
                rgba(255,255,255,0) 0%,
                rgba(255,255,255,0.8) 50%,
                rgba(255,255,255,0) 100%);
            background-size: 200% 100%;
            animation: shimmer 2s infinite;
        }

        /* 3D Card Effect */
        .card-3d {
            transform-style: preserve-3d;
            transition: transform 0.5s;
        }

        .card-3d:hover {
            transform: rotateY(10deg) rotateX(5deg);
        }

        /* Particle animation */
        .particle {
            position: absolute;
            border-radius: 50%;
            pointer-events: none;
            opacity: 0;
            animation: particleAnimation 3s ease-in-out infinite;
        }

        @keyframes particleAnimation {
            0% { transform: translate(0, 0) scale(0); opacity: 0; }
            50% { opacity: 0.8; }
            100% { transform: translate(var(--tx), var(--ty)) scale(1); opacity: 0; }
        }

        /* Typing animation */
        .typing-animation::after {
            content: '|';
            animation: typing 1s infinite;
        }

        @keyframes typing {
            0%, 100% { opacity: 1; }
            50% { opacity: 0; }
        }
       /* Financial Benefit Icon Styles */
        .financial-benefit-icon {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
            transition: all 0.3s ease;
        }

        .financial-benefit-icon:hover {
            transform: scale(1.1);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
        }

        /* Gradient border animation */
        @keyframes borderGradient {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        .animated-border {
            position: relative;
            border-radius: 0.5rem;
            z-index: 0;
        }

        .animated-border::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(45deg, #7c3aed, #4f46e5, #6366f1, #8b5cf6, #7c3aed);
            background-size: 400% 400%;
            z-index: -1;
            border-radius: 0.6rem;
            animation: borderGradient 3s ease infinite;
        }

        /* Responsive viewport adjustments for navbar and hero section */

        /* Why Choose NS-Mas Section Responsive Styles */
        .why-choose-section {
            padding: 3rem 0;
        }

        @media (max-width: 640px) {
            .why-choose-section {
                padding: 2rem 0;
            }

            .why-choose-section .grid {
                gap: 1rem !important;
            }

            .why-choose-section .feature-card {
                padding: 1rem !important;
                margin-bottom: 1rem;
            }

            .why-choose-section .feature-icon {
                width: 3rem !important;
                height: 3rem !important;
                margin-bottom: 1rem !important;
            }

            .why-choose-section .feature-title {
                font-size: 1.25rem !important;
                margin-bottom: 0.75rem !important;
                line-height: 1.3;
            }

            .why-choose-section .feature-description {
                font-size: 0.875rem !important;
                margin-bottom: 0.75rem !important;
                line-height: 1.5;
            }

            .why-choose-section .feature-list {
                gap: 0.5rem !important;
            }

            .why-choose-section .feature-list-item {
                font-size: 0.875rem !important;
            }
        }

        @media (min-width: 641px) and (max-width: 768px) {
            .why-choose-section {
                padding: 2.5rem 0;
            }

            .why-choose-section .grid {
                gap: 1.5rem !important;
            }

            .why-choose-section .feature-card {
                padding: 1.5rem !important;
            }

            .why-choose-section .feature-icon {
                width: 3.5rem !important;
                height: 3.5rem !important;
                margin-bottom: 1.25rem !important;
            }

            .why-choose-section .feature-title {
                font-size: 1.5rem !important;
                margin-bottom: 1rem !important;
            }

            .why-choose-section .feature-description {
                font-size: 1rem !important;
                margin-bottom: 1rem !important;
            }
        }

        @media (min-width: 769px) and (max-width: 1024px) {
            .why-choose-section .grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 1.5rem !important;
            }

            .why-choose-section .feature-card {
                padding: 1.5rem !important;
            }

            .why-choose-section .feature-title {
                font-size: 1.75rem !important;
            }
        }

        /* Enhanced card hover effects for better mobile interaction */
        @media (hover: hover) {
            .why-choose-section .feature-card:hover {
                transform: translateY(-5px) !important;
                box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15) !important;
            }
        }

        /* Touch device optimizations */
        @media (hover: none) {
            .why-choose-section .feature-card {
                transition: none !important;
            }

            .why-choose-section .feature-card:active {
                transform: scale(0.98) !important;
            }
        }

        /* Simple Mobile Responsive Styles for Who We Are Section */
        @media (max-width: 768px) {
            .who-we-are-section .h-48 {
                height: 10rem !important;
            }
            .who-we-are-section .md\:h-64 {
                height: 12rem !important;
            }
            .who-we-are-section .p-8 {
                padding: 1.5rem !important;
            }
            .who-we-are-section .text-xl {
                font-size: 1.125rem !important;
            }
        }

        /* Who We Are Section Responsive Styles */
        @media (max-width: 768px) {
            .who-we-are-section .grid {
                grid-template-columns: 1fr !important;
                gap: 1.5rem !important;
            }

            .who-we-are-section .lg\:col-span-7 {
                order: 1;
            }

            .who-we-are-section .lg\:col-span-5 {
                order: 2;
            }

            .who-we-are-section .relative.h-64 {
                height: 12rem !important;
            }

            .who-we-are-section .md\:h-80 {
                height: 16rem !important;
            }

            .who-we-are-section .p-8 {
                padding: 1.5rem !important;
            }

            .who-we-are-section .text-xl {
                font-size: 1.125rem !important;
            }

            .who-we-are-section .text-lg {
                font-size: 1rem !important;
            }

            .who-we-are-section .space-y-4 > * + * {
                margin-top: 0.75rem !important;
            }
        }

        @media (min-width: 769px) and (max-width: 1024px) {
            .who-we-are-section .text-5xl {
                font-size: 3rem !important;
            }

            .who-we-are-section .md\:text-7xl {
                font-size: 3.5rem !important;
            }

            .who-we-are-section .relative.h-64 {
                height: 14rem !important;
            }

            .who-we-are-section .md\:h-80 {
                height: 18rem !important;
            }

            .who-we-are-section .p-8 {
                padding: 2rem !important;
            }
        }

        @media (max-width: 480px) {
            .who-we-are-section .text-5xl {
                font-size: 2.25rem !important;
            }

            .who-we-are-section .md\:text-7xl {
                font-size: 2.5rem !important;
            }

            .who-we-are-section .relative.h-64 {
                height: 10rem !important;
            }

            .who-we-are-section .md\:h-80 {
                height: 12rem !important;
            }

            .who-we-are-section .p-8 {
                padding: 1rem !important;
            }

            .who-we-are-section .space-y-4 > * + * {
                margin-top: 0.5rem !important;
            }

            .who-we-are-section .flex.items-start.space-x-3 {
                flex-direction: row !important;
                align-items: flex-start !important;
                padding: 0.5rem !important;
            }

            .who-we-are-section .flex.items-start.space-x-3 > div:first-child {
                margin-top: 0.25rem !important;
                margin-right: 0.75rem !important;
            }

            .who-we-are-section .w-3.h-3 {
                width: 0.5rem !important;
                height: 0.5rem !important;
            }
        }

        /* Modern hover effects for Who We Are section */
        .who-we-are-section .bg-white {
            transition: all 0.3s ease;
        }

        .who-we-are-section .bg-white:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }

        .who-we-are-section .flex.items-start.space-x-3 {
            transition: all 0.3s ease;
            padding: 0.5rem;
            border-radius: 0.5rem;
        }

        .who-we-are-section .flex.items-start.space-x-3:hover {
            background-color: rgba(124, 58, 237, 0.05);
            transform: translateX(5px);
        }

        .who-we-are-section .w-3.h-3 {
            transition: all 0.3s ease;
        }

        .who-we-are-section .group:hover .w-3.h-3 {
            transform: scale(1.3) rotate(180deg);
            box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
        }

        .who-we-are-section .group:hover {
            background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(99, 102, 241, 0.05));
            border-radius: 0.75rem;
            padding: 0.75rem;
            margin: -0.25rem;
        }

        /* Circular Diagram Animation Styles */
        .circular-diagram {
            position: relative;
            width: 280px;
            height: 280px;
            margin: 0 auto;
        }

        .center-circle {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100px;
            height: 100px;
            border-radius: 50%;
            z-index: 10;
            box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
            animation: pulseGlow 3s infinite alternate;
        }

        @keyframes pulseGlow {
            0% {
                box-shadow: 0 0 15px rgba(124, 58, 237, 0.3);
            }
            100% {
                box-shadow: 0 0 30px rgba(124, 58, 237, 0.6);
            }
        }

        .orbit-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            animation: rotateOrbit 30s linear infinite;
        }

        @keyframes rotateOrbit {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }

        .orbit-item {
            position: absolute;
            width: 70px;
            height: 70px;
            transform-origin: 140px 140px;
        }

        .orbit-item-1 {
            transform: rotate(0deg) translateX(140px) rotate(-0deg);
        }

        .orbit-item-2 {
            transform: rotate(60deg) translateX(140px) rotate(-60deg);
        }

        .orbit-item-3 {
            transform: rotate(120deg) translateX(140px) rotate(-120deg);
        }

        .orbit-item-4 {
            transform: rotate(180deg) translateX(140px) rotate(-180deg);
        }

        .orbit-item-5 {
            transform: rotate(240deg) translateX(140px) rotate(-240deg);
        }

        .orbit-item-6 {
            transform: rotate(300deg) translateX(140px) rotate(-300deg);
        }

        .course-bubble {
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(5px);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            cursor: pointer;
            animation: bubblePulse 3s infinite alternate;
            animation-delay: calc(var(--delay) * 1s);
        }

        .orbit-item-1 .course-bubble { --delay: 0; }
        .orbit-item-2 .course-bubble { --delay: 0.5; }
        .orbit-item-3 .course-bubble { --delay: 1; }
        .orbit-item-4 .course-bubble { --delay: 1.5; }
        .orbit-item-5 .course-bubble { --delay: 2; }
        .orbit-item-6 .course-bubble { --delay: 2.5; }

        @keyframes bubblePulse {
            0% {
                transform: scale(1);
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            }
            100% {
                transform: scale(1.1);
                box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
            }
        }

        .course-bubble:hover {
            transform: scale(1.2);
            box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
            z-index: 20;
            animation-play-state: paused;
        }

        .course-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
        }

        .course-icon {
            background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 4px;
        }

        .course-name {
            font-size: 10px;
            font-weight: 600;
            color: #4c1d95;
            max-width: 60px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* Responsive adjustments for the circular diagram */
        @media (max-width: 768px) {
            .circular-diagram {
                width: 240px;
                height: 240px;
            }

            .center-circle {
                width: 80px;
                height: 80px;
            }

            .orbit-item {
                width: 60px;
                height: 60px;
                transform-origin: 120px 120px;
            }

            .orbit-item-1 { transform: rotate(0deg) translateX(120px) rotate(-0deg); }
            .orbit-item-2 { transform: rotate(60deg) translateX(120px) rotate(-60deg); }
            .orbit-item-3 { transform: rotate(120deg) translateX(120px) rotate(-120deg); }
            .orbit-item-4 { transform: rotate(180deg) translateX(120px) rotate(-180deg); }
            .orbit-item-5 { transform: rotate(240deg) translateX(120px) rotate(-240deg); }
            .orbit-item-6 { transform: rotate(300deg) translateX(120px) rotate(-300deg); }

            .course-icon {
                width: 28px;
                height: 28px;
            }

            .course-name {
                font-size: 9px;
            }
        }

        @media (max-width: 480px) {
            .circular-diagram {
                width: 200px;
                height: 200px;
            }

            .center-circle {
                width: 70px;
                height: 70px;
            }

            .center-circle h3 {
                font-size: 14px;

            }

            .center-circle p {
                font-size: 10px;
            }

            .orbit-item {
                width: 50px;
                height: 50px;
                transform-origin: 100px 100px;
            }

            .orbit-item-1 { transform: rotate(0deg) translateX(100px) rotate(-0deg); }
            .orbit-item-2 { transform: rotate(60deg) translateX(100px) rotate(-60deg); }
            .orbit-item-3 { transform: rotate(120deg) translateX(100px) rotate(-120deg); }
            .orbit-item-4 { transform: rotate(180deg) translateX(100px) rotate(-180deg); }
            .orbit-item-5 { transform: rotate(240deg) translateX(100px) rotate(-240deg); }
            .orbit-item-6 { transform: rotate(300deg) translateX(100px) rotate(-300deg); }

            .course-icon {
                width: 24px;
                height: 24px;
            }

            .course-name {
                font-size: 8px;
            }
        }

        /* Scroll-based animation styles */
        .circular-diagram {
            opacity: 0;
            transform: scale(0.8);
            transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .circular-diagram.animate-in {
            opacity: 1;
            transform: scale(1);
        }

        .course-bubble {
            opacity: 0;
            transform: scale(0);
            transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .course-bubble.animate-in {
            opacity: 1;
            transform: scale(1);
        }

        /* Active state for course bubbles */
        .course-bubble.active {
            background: rgba(255, 255, 255, 0.95);
            box-shadow: 0 0 30px rgba(124, 58, 237, 0.6);
            transform: scale(1.2);
            z-index: 30;
        }

        /* Scholarship Cap Animation Styles */
        .scholarship-cap-container {
            position: relative;
            display: inline-block;
        }

        /* Popular Courses Animation Styles */
        .courses-animation-container {
            position: relative;
            display: inline-block;
            margin-right: 10px; /* Add some spacing to the right */
        }

        .courses-animation {
            position: absolute;
            width: 120px; /* Larger size as requested */
            height: 120px;
            top: -80px;
            right: -60px;
            z-index: 20;
            transform: rotate(-30deg); /* Diagonal positioning */
            pointer-events: none; /* Ensures the animation doesn't interfere with text selection */
        }

        .course-book {
            position: absolute;
            width: 80px;
            height: 100px;

            background: linear-gradient(135deg, #7c3aed, #4f46e5);
            border-radius: 5px;
            box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
            transform-origin: center;
            animation: bookFloat 4s ease-in-out infinite;
        }

        .course-book::before {
            content: '';
            position: absolute;
            top: 10px;
            left: 15px;
            right: 15px;
            height: 5px;
            background: rgba(255, 255, 255, 0.5);
            border-radius: 2px;
        }

        .course-book::after {
            content: '';
            position: absolute;
            top: 25px;
            left: 15px;
            right: 15px;
            height: 5px;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 2px;
        }

        .course-certificate {
            position: absolute;
            top: 20px;
            left: 40px;
            width: 70px;
            height: 90px;
            background: linear-gradient(135deg, #f9a8d4, #ec4899);
            border-radius: 5px;
            box-shadow: 0 8px 15px rgba(236, 72, 153, 0.4);
            transform-origin: center;
            animation: certificateFloat 4s ease-in-out infinite 0.5s;
        }

        .course-certificate::before {
            content: '';
            position: absolute;
            top: 15px;
            left: 15px;
            right: 15px;
            bottom: 15px;
            border: 2px solid rgba(255, 255, 255, 0.6);
            border-radius: 3px;
        }

        .course-certificate::after {
            content: '★';
            position: absolute;
            top: 40px;
            left: 0;
            right: 0;
            text-align: center;
            color: rgba(255, 255, 255, 0.8);
            font-size: 24px;
        }

        .course-sparkle {
            position: absolute;
            width: 20px;
            height: 20px;
            background: radial-gradient(circle, #ffffff 0%, rgba(255, 255, 255, 0) 70%);
            border-radius: 50%;
            opacity: 0;
            animation: sparkleAnimation 3s ease-in-out infinite;
        }

        .sparkle-1 {
            top: 0;
            left: 20px;
            animation-delay: 0s;
        }

        .sparkle-2 {
            top: 30px;
            left: 0;
            animation-delay: 0.5s;
        }

        .sparkle-3 {
            top: 60px;
            left: 80px;
            animation-delay: 1s;
        }

        .sparkle-4 {
            top: 90px;
            left: 40px;
            animation-delay: 1.5s;
        }

        .sparkle-5 {
            top: 20px;
            left: 100px;
            animation-delay: 2s;
        }

        @keyframes bookFloat {
            0%, 100% {
                transform: translateY(0) rotate(0deg);
                box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
            }
            50% {
                transform: translateY(-15px) rotate(5deg);
                box-shadow: 0 15px 30px rgba(79, 70, 229, 0.6);
            }
        }

        @keyframes certificateFloat {
            0%, 100% {
                transform: translateY(0) rotate(0deg);
                box-shadow: 0 8px 15px rgba(236, 72, 153, 0.4);
            }
            50% {
                transform: translateY(-10px) rotate(-8deg);
                box-shadow: 0 15px 25px rgba(236, 72, 153, 0.6);
            }
        }

        @keyframes sparkleAnimation {
            0% {
                transform: scale(0) rotate(0deg);
                opacity: 0;
            }
            20% {
                transform: scale(1.2) rotate(45deg);
                opacity: 0.8;
            }
            40% {
                transform: scale(0.8) rotate(90deg);
                opacity: 0.5;
            }
            60% {
                transform: scale(1.5) rotate(135deg);
                opacity: 0.8;
            }
            100% {
                transform: scale(0) rotate(180deg);
                opacity: 0;
            }
        }

        .scholarship-cap {
            position: absolute;
            top: -50px;  /* Increased distance from the letter */
            left: -10px; /* Adjusted left position */
            width: 70px; /* Increased width by 75% */
            height: 45px; /* Increased height by 80% */
            transform-origin: bottom center;
            animation: capFloat 3s ease-in-out infinite;
            z-index: 20;
            pointer-events: none; /* Ensures the cap doesn't interfere with text selection */
        }

        .cap-top {
            position: absolute;
            top: 0;
            left: 0;
            width: 70px; /* Increased width */
            height: 18px; /* Increased height */
            background: linear-gradient(135deg, #7c3aed, #4f46e5);
            transform: skew(-10deg, -10deg);
            border-radius: 5px; /* Increased border radius */
            box-shadow: 0 4px 15px rgba(79, 70, 229, 0.5); /* Enhanced shadow */
        }

        .cap-tassel {
            position: absolute;
            top: 0;
            right: 8px; /* Adjusted position */
            width: 8px; /* Increased width */
            height: 25px; /* Increased height */
            background: linear-gradient(to bottom, #f9a8d4, #ec4899);
            transform-origin: top center;
            animation: tasselSwing 2s ease-in-out infinite;
        }

        .cap-bottom {
            position: absolute;
            bottom: 0;
            left: 10px; /* Adjusted position */
            width: 50px; /* Increased width */
            height: 27px; /* Increased height */
            background: linear-gradient(to bottom, #7c3aed, #6d28d9);
            border-radius: 5px 5px 0 0; /* Increased border radius */
            box-shadow: 0 4px 8px rgba(109, 40, 217, 0.5); /* Enhanced shadow */
        }

        @keyframes capFloat {
            0%, 100% {
                transform: translateY(0) rotate(0deg);
                filter: drop-shadow(0 5px 15px rgba(124, 58, 237, 0.3));
            }
            50% {
                transform: translateY(-15px) rotate(8deg); /* More dramatic movement */
                filter: drop-shadow(0 15px 20px rgba(124, 58, 237, 0.5)); /* Enhanced shadow when floating */
            }
        }

        @keyframes tasselSwing {
            0%, 100% {
                transform: rotate(0deg);
            }
            25% {
                transform: rotate(25deg); /* Increased swing angle */
            }
            75% {
                transform: rotate(-25deg); /* Increased swing angle */
            }
        }

        .scholarship-letter {
            position: relative;
            display: inline-block;
            animation: letterBounce 1s ease-in-out;
        }

        @keyframes letterBounce {
            0% {
                transform: translateY(0);
            }
            20% {
                transform: translateY(-15px);
            }
            40% {
                transform: translateY(0);
            }
            60% {
                transform: translateY(-7px);
            }
            80% {
                transform: translateY(0);
            }
            100% {
                transform: translateY(0);
            }
        }

        .confetti {
            position: absolute;
            width: 12px; /* Increased size */
            height: 12px; /* Increased size */
            background-color: #7c3aed;
            opacity: 0;
            border-radius: 2px; /* Added slight rounding */
            animation: confettiFall 3s ease-in-out forwards;
            box-shadow: 0 0 5px rgba(124, 58, 237, 0.5); /* Added glow effect */
        }

        .confetti:nth-child(2n) {
            background-color: #4f46e5;
            width: 10px; /* Varied sizes */
            height: 14px;
        }

        .confetti:nth-child(3n) {
            background-color: #ec4899;
            width: 14px; /* Varied sizes */
            height: 10px;
        }

        .confetti:nth-child(4n) {
            background-color: #f9a8d4;
            border-radius: 50%; /* Some confetti are circular */
        }

        @keyframes confettiFall {
            0% {
                transform: translateY(-30px) rotate(0deg); /* Start higher */
                opacity: 1;
            }
            100% {
                transform: translateY(150px) rotate(360deg); /* Fall further */
                opacity: 0;
            }
        }

        /* New Hero Section Animations */
        @keyframes blob {
            0% {
                transform: translate(0px, 0px) scale(1);
            }
            33% {
                transform: translate(30px, -50px) scale(1.1);
            }
            66% {
                transform: translate(-20px, 20px) scale(0.9);
            }
            100% {
                transform: translate(0px, 0px) scale(1);
            }
        }

        .animate-blob {
            animation: blob 7s infinite;
        }

        .animation-delay-2000 {
            animation-delay: 2s;
        }

        .animation-delay-4000 {
            animation-delay: 4s;
        }

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

        .animate-float {
            animation: float 6s ease-in-out infinite;
        }
        @media (max-width: 768px), (max-height: 800px) {
            body {
                padding-top: 64px !important;
                overflow-x: hidden !important;
                width: 100vw !important;
                max-width: 100vw !important;
            }

            /* Improved mobile responsiveness */
            .flex-col-mobile {
                flex-direction: column !important;
            }

            .w-full-mobile {
                width: 100% !important;
            }

            .text-center-mobile {
                text-align: center !important;
            }

            .py-4-mobile {
                padding-top: 1rem !important;
                padding-bottom: 1rem !important;
            }

            /* Ensure hero section has proper spacing to prevent collision */
            .hero-section {
                padding-bottom: 2rem !important; /* Add extra bottom padding */
            }

            /* Adjust grid layout for mobile to prevent collision */
            .hero-section .grid.grid-cols-1.lg\:grid-cols-2 {
                gap: 1rem !important; /* Reduced gap between columns */
            }

            /* Ensure courses categories card doesn't overflow */
            .hero-section .bg-white\/90 {
                margin-bottom: 1rem !important; /* Add bottom margin to prevent collision */
            }

            .px-4-mobile {
                padding-left: 1rem !important;
                padding-right: 1rem !important;
            }

            .text-sm-mobile {
                font-size: 0.875rem !important;
                line-height: 1.25rem !important;
            }

            .text-base-mobile {
                font-size: 1rem !important;
                line-height: 1.5rem !important;
            }

            .text-lg-mobile {
                font-size: 1.125rem !important;
                line-height: 1.75rem !important;
            }

            .text-xl-mobile {
                font-size: 1.25rem !important;
                line-height: 1.75rem !important;
            }

            .text-2xl-mobile {
                font-size: 1.5rem !important;
                line-height: 2rem !important;
            }

            .text-3xl-mobile {
                font-size: 1.875rem !important;
                line-height: 2.25rem !important;
            }

            .mb-4-mobile {
                margin-bottom: 1rem !important;
            }

            .mt-4-mobile {
                margin-top: 1rem !important;
            }

            .gap-4-mobile {
                gap: 1rem !important;
            }

            /* Fix for Quick Application section */
            .grid-cols-1-mobile {
                grid-template-columns: 1fr !important;
            }
        }

        /* Additional mobile-specific adjustments */
        @media (max-width: 640px) {
            .hero-section {
                overflow-y: auto !important;
            }

            .scholarship-form-container {
                padding: 1.25rem !important;
            }

            .flex-wrap-mobile {
                flex-wrap: wrap !important;
            }

            .w-full-sm {
                width: 100% !important;
            }

            .px-2-sm {
                padding-left: 0.5rem !important;
                padding-right: 0.5rem !important;
            }

            .py-2-sm {
                padding-top: 0.5rem !important;
                padding-bottom: 0.5rem !important;
            }

            .text-xs-sm {
                font-size: 0.75rem !important;
                line-height: 1rem !important;
            }

            .text-sm-sm {
                font-size: 0.875rem !important;
                line-height: 1.25rem !important;
            }

            .text-base-sm {
                font-size: 1rem !important;
                line-height: 1.5rem !important;
            }

            .text-lg-sm {
                font-size: 1.125rem !important;
                line-height: 1.75rem !important;
            }

            .text-xl-sm {
                font-size: 1.25rem !important;
                line-height: 1.75rem !important;
            }

            .text-2xl-sm {
                font-size: 1.5rem !important;
                line-height: 2rem !important;
            }

            /* Fix for mobile form fields */
            input, select, textarea {
                font-size: 16px !important; /* Prevents iOS zoom on focus */
                -webkit-appearance: none;
                appearance: none;
                border-radius: 4px;
            }

            /* Fix for mobile buttons */
            button, .button, a.button {
                touch-action: manipulation;
                -webkit-appearance: none;
                appearance: none;
            }

            /* Fix for mobile overflow issues */
            .overflow-x-hidden-sm {
                overflow-x: hidden !important;
            }

            /* Fix for mobile padding */
            .p-responsive {
                padding: 0.75rem !important;
            }

            /* Fix for mobile margins */
            .m-responsive {
                margin: 0.75rem !important;
            }

            /* Fix for mobile heights */
            .h-auto-sm {
                height: auto !important;
            }

            /* Fix for mobile widths */
            .w-auto-sm {
                width: auto !important;
            }

            /* Fix for mobile gaps */
            .gap-2-sm {
                gap: 0.5rem !important;
            }

            /* Course cards mobile fixes */
            .lg\\:col-span-7 {
                max-height: 600px !important;
                overflow-y: auto !important;
                padding-right: 0 !important;
            }

            .lg\\:col-span-5 {
                margin-top: 1rem !important;
            }

            /* Fix for course card content */
            .p-6 {
                padding: 1rem !important;
            }

            /* Fix for course card icons */
            .w-16.h-16 {
                width: 3rem !important;
                height: 3rem !important;
            }

            /* Fix for course card text */
            .text-xl.font-bold.text-gray-800.mb-2 {
                font-size: 1.1rem !important;
                margin-bottom: 0.5rem !important;
            }

            .text-gray-600.mb-4 {
                font-size: 0.875rem !important;
                margin-bottom: 0.5rem !important;
            }

            /* Fix for scholarship section on mobile */
            .academic-levels-section .lg\\:w-1\/4 {
                width: 100% !important;
                margin-bottom: 1rem !important;
            }

            .academic-levels-section .lg\\:w-3\/4 {
                width: 100% !important;
            }

            .academic-levels-section .scholarship-nav {
                display: flex !important;
                flex-wrap: wrap !important;
                justify-content: center !important;
                gap: 0.5rem !important;
                flex-direction: row !important;
                padding: 0.5rem !important;
                overflow-x: auto !important;
                white-space: nowrap !important;
                -webkit-overflow-scrolling: touch !important;
                scrollbar-width: none !important; /* Firefox */
            }

            .academic-levels-section .scholarship-nav::-webkit-scrollbar {
                display: none !important; /* Chrome, Safari, Edge */
            }

            .academic-levels-section .scholarship-nav .nav-item {
                width: auto !important;
                min-width: auto !important;
                flex: 0 0 auto !important;
                padding: 0.5rem 1rem !important;
                border: 1px solid #e5e7eb !important;
                border-radius: 0.375rem !important;
                text-align: center !important;
                border-left-width: 1px !important;
                display: inline-block !important;
                margin-bottom: 0.5rem !important;
            }

            /* Fix for scholarship content on mobile */
            #undergraduate, #class12, #class11, #class10, #class9, #postgraduate {
                flex-direction: column !important;
            }

            #undergraduate .md\\:w-1\/2, #class12 .md\\:w-1\/2, #class11 .md\\:w-1\/2,
            #class10 .md\\:w-1\/2, #class9 .md\\:w-1\/2, #postgraduate .md\\:w-1\/2 {
                width: 100% !important;
                margin-bottom: 1.5rem !important;
            }

            /* Fix for scholarship headings on mobile */
            #undergraduate h3, #class12 h3, #class11 h3, #class10 h3, #class9 h3, #postgraduate h3 {
                font-size: 1.5rem !important;
                line-height: 1.75rem !important;
            }
        }

        /* Extra small screens */
        @media (max-width: 375px) {
            /* Fix body padding for very small screens */
            body {
                padding-top: 50px !important; /* Reduced from 64px to 50px */
            }

            /* Fix for very small screens */
            .grid-cols-1 {
                grid-template-columns: 1fr !important;
            }

            .sm\\:grid-cols-2 {
                grid-template-columns: 1fr !important;
            }

            /* Smaller padding for extra small screens */
            .p-6 {
                padding: 0.75rem !important;
            }

            /* Smaller text for extra small screens */
            .text-xl {
                font-size: 1rem !important;
                line-height: 1.25rem !important;
            }

            .text-gray-600 {
                font-size: 0.8rem !important;
                line-height: 1.1rem !important;
            }

            /* Smaller icons for extra small screens */
            .w-16.h-16 {
                width: 2.5rem !important;
                height: 2.5rem !important;
            }

            .h-8.w-8 {
                width: 1.25rem !important;
                height: 1.25rem !important;
            }

            /* Fix for form fields on very small screens */
            input, select, textarea, button {
                padding: 0.5rem !important;
            }

            /* Fix for mobile form container */
            .bg-white.rounded-lg.shadow-lg.p-6 {
                padding: 1rem !important;
            }

            /* Fix for hero section on very small screens */
            .hero-section {
                padding-top: 0.5rem !important;
                padding-bottom: 1rem !important;
                margin-top: 0 !important;
            }

            /* Fix for mobile menu on very small screens */
            .mobile-menu {
                width: 100% !important;
            }

            /* Force video section to appear at the top on mobile */
            .hero-section .grid.grid-cols-1.lg\\:grid-cols-12 {
                display: flex !important;
                flex-direction: column-reverse !important; /* Video first, then text */
                gap: 0.75rem !important;
                margin-top: 0 !important;
                padding-top: 0 !important;
            }

            /* Ensure video container has no top margin/padding */
            .hero-section .lg\\:col-span-5 {
                order: -1 !important; /* Video appears first */
                margin-top: 0 !important;
                margin-bottom: 1rem !important;
                padding-top: 0 !important;
            }

            /* Reduce text content spacing */
            .hero-section .lg\\:col-span-7 {
                margin-top: 0 !important;
                padding-top: 0 !important;
            }

            /* Reduce main content container padding */
            .hero-section .max-w-7xl {
                padding-top: 0.75rem !important;
                padding-bottom: 1rem !important;
            }

            /* Fix for scholarship navigation on very small screens */
            .academic-levels-section .scholarship-nav {
                padding: 0.25rem !important;
                gap: 0.25rem !important;
                justify-content: flex-start !important;
                overflow-x: auto !important;
                max-width: 100% !important;
                margin: 0 !important;
            }

            .academic-levels-section .scholarship-nav .nav-item {
                padding: 0.375rem 0.75rem !important;
                font-size: 0.75rem !important;
                min-width: auto !important;
                flex-shrink: 0 !important;
                margin-right: 0.25rem !important;
            }

            /* Fix for scholarship content on very small screens */
            #undergraduate h3, #class12 h3, #class11 h3, #class10 h3, #class9 h3, #postgraduate h3 {
                font-size: 1.25rem !important;
                line-height: 1.5rem !important;
                margin-bottom: 0.25rem !important;
            }

            /* Fix for scholarship description on very small screens */
            #undergraduate p, #class12 p, #class11 p, #class10 p, #class9 p, #postgraduate p {
                font-size: 0.875rem !important;
                line-height: 1.25rem !important;
            }

            /* Course categories slider adjustments for very small screens */
            .course-slider-container {
                padding: 1.5rem 0 !important; /* Increased from 0.5rem to 1.5rem */
            }

            .category-card {
                width: 220px !important; /* Increased from 190px to 220px */
            }

            .category-shape {
                height: 260px !important; /* Increased from 230px to 260px */
            }

            .category-name {
                font-size: 0.85rem !important; /* Adjusted for better fit */
                max-width: 100% !important;
                overflow: visible !important;
                white-space: normal !important; /* Allow text wrapping */
                text-overflow: clip !important; /* Remove ellipsis */
                line-height: 1.2 !important; /* Tighter line height for wrapped text */
                margin-bottom: 0.6rem !important;
                word-break: break-word !important; /* Break long words if needed */
                text-align: center !important; /* Center align text */
                height: auto !important; /* Allow height to adjust */
                min-height: 2.4rem !important; /* Ensure consistent minimum height */
            }

            .apply-button {
                padding: 0.4rem 0.8rem !important; /* Increased padding for better visibility */
                font-size: 0.8rem !important;
                white-space: nowrap !important; /* Prevent button text from wrapping */
            }

            /* Improve category card dimensions for better text visibility */
            .category-card {
                width: 180px !important; /* Increased from 150px to 180px for very small screens */
            }

            .category-shape {
                height: 220px !important; /* Increased from 180px to 220px for very small screens */
                padding: 0.75rem !important; /* Reduced padding for compact design */
            }

            .category-name {
                display: flex !important; /* Use flexbox for better centering */
                align-items: center !important; /* Center vertically */
                justify-content: center !important; /* Center horizontally */
            }
        }

        /* Ultra small screens - specific fix for 344px width */
        @media (max-width: 350px) {
            /* Further reduce body padding for ultra small screens */
            body {
                padding-top: 45px !important; /* Further reduced for 344px width */
            }

            /* Ensure hero section starts at the very top */
            .hero-section {
                padding-top: 0 !important;
                margin-top: 0 !important;
                min-height: auto !important;
            }

            /* Reduce navbar height on ultra small screens */
            .navbar {
                height: 45px !important;
                min-height: 45px !important;
            }

            /* Adjust logo and menu button sizes */
            .navbar img {
                height: 30px !important;
                width: auto !important;
            }

            .mobile-menu-button {
                padding: 0.25rem !important;
            }

            /* Ensure video content is visible immediately */
            .hero-section .grid {
                gap: 0.5rem !important;
            }

            /* Reduce any extra spacing in hero section */
            .hero-section .container {
                padding-top: 0 !important;
                padding-bottom: 0.5rem !important;
            }

            /* Force video section to appear at the top on mobile */
            .hero-section .grid.grid-cols-1.lg\\:grid-cols-12 {
                display: flex !important;
                flex-direction: column-reverse !important; /* Video first, then text */
                gap: 0.5rem !important;
                margin-top: 0 !important;
                padding-top: 0 !important;
            }

            /* Ensure video container has no top margin/padding */
            .hero-section .lg\\:col-span-5 {
                order: -1 !important; /* Video appears first */
                margin-top: 0 !important;
                margin-bottom: 1rem !important;
                padding-top: 0 !important;
            }

            /* Reduce text content spacing */
            .hero-section .lg\\:col-span-7 {
                margin-top: 0 !important;
                padding-top: 0 !important;
            }

            /* Reduce main content container padding */
            .hero-section .max-w-7xl {
                padding-top: 0.5rem !important;
                padding-bottom: 1rem !important;
            }
        }

        /* Additional text visibility fixes for all screen sizes */
        .text-overflow-fix {
            word-wrap: break-word !important;
            overflow-wrap: break-word !important;
            hyphens: auto !important;
        }

        /* Ensure video text is always visible and takes full width */
        .video-text-container {
            min-height: 4rem !important;
            display: block !important;
            width: 100% !important;
            max-width: 100% !important;
            position: relative !important;
            box-sizing: border-box !important;
        }

        /* Full width line styling for all screen sizes */
        .video-text-container .border-t-2 {
            width: 100% !important;
            max-width: 100% !important;
            left: 0 !important;
            right: 0 !important;
            position: absolute !important;
            top: 0 !important;
        }

        /* Responsive adjustments for the video text container */
        @media (max-width: 1024px) {
            .video-text-container {
                width: 100% !important;
                max-width: 100% !important;
                margin-left: 0 !important;
                padding-left: 0 !important;
            }

            .video-text-container .border-t-2 {
                width: 100% !important;
                left: 0 !important;
            }
        }

        @media (max-width: 768px) {
            .video-text-container {
                width: 100% !important;
                max-width: 100% !important;
                padding-left: 0 !important;
                padding-right: 0 !important;
            }

            .video-text-container .border-t-2 {
                width: 100% !important;
                left: 0 !important;
                right: 0 !important;
            }
        }

        @media (max-width: 480px) {
            .video-text-container {
                width: 100% !important;
                max-width: 100% !important;
                margin: 0 !important;
                padding: 0 !important;
            }

            .video-text-container .border-t-2 {
                width: 100% !important;
                left: 0 !important;
                right: 0 !important;
            }
        }

        /* Ensure left column supports full-width content */
        .hero-section .flex.flex-col.items-start {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
        }

        /* Ensure grid layout supports full-width content in left column */
        .hero-section .grid.grid-cols-1.lg\\:grid-cols-2 > div:first-child {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
        }

        /* Fix for button text overflow on all screen sizes */
        .button-text-fix {
            white-space: normal !important;
            word-wrap: break-word !important;
            text-align: center !important;
            line-height: 1.3 !important;
        }

        /* Ensure all course category names are fully visible */
        .category-content {
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            justify-content: center !important;
            height: 100% !important;
            padding: 0.5rem !important;
        }

        /* Fix for long course names */
        .category-name {
            word-wrap: break-word !important;
            overflow-wrap: break-word !important;
            hyphens: auto !important;
            max-width: 100% !important;
        }

        /* FAQ Section Styles */
        .faq-section {
            width: 100%;
            max-width: 100vw;
        }

        .faq-container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
        }

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

        @media (min-width: 768px) {
            .faq-grid {
                grid-template-columns: 1fr 1fr;
                gap: 2rem;
            }
        }

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

        .faq-item {
            width: 100%;
            min-height: auto;
            flex: 1;
        }

        /* Enhanced FAQ card styling for better width utilization */
        .faq-card {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box;
        }

        .faq-card button {
            width: 100% !important;
            display: flex !important;
            justify-content: space-between !important;
            align-items: center !important;
        }

        .faq-card button span {
            flex: 1;
            text-align: left;
            margin-right: 1rem;
        }

        /* Responsive FAQ improvements */
        @media (min-width: 768px) {
            .faq-container {
                max-width: 1400px;
            }

            .faq-grid {
                gap: 2.5rem;
            }
        }

        @media (min-width: 1024px) {
            .faq-container {
                max-width: 1600px;
            }
        }

        /* Apply FAQ card styling to all FAQ items automatically */
        section .bg-white.rounded-xl.shadow-lg {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box;
        }

        section .bg-white.rounded-xl.shadow-lg button {
            width: 100% !important;
            display: flex !important;
            justify-content: space-between !important;
            align-items: center !important;
        }

        section .bg-white.rounded-xl.shadow-lg button span {
            flex: 1;
            text-align: left;
            margin-right: 1rem;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        /* Fix hover effect to only apply to individual cards */
        .bg-white.rounded-xl.shadow-lg:hover button span {
            color: #7c3aed !important;
            transition: color 0.3s ease;
        }

        .bg-white.rounded-xl.shadow-lg button span {
            color: #374151 !important;
            transition: color 0.3s ease;
        }

        /* Ensure no global hover effects */
        .bg-white.rounded-xl.shadow-lg:not(:hover) button span {
            color: #374151 !important;
        }

        /* Individual card hover effect for icon */
        .bg-white.rounded-xl.shadow-lg:hover .w-8.h-8 {
            transform: scale(1.1) !important;
            box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3) !important;
            transition: all 0.3s ease !important;
        }

        /* Course Categories Slider Styles - Enhanced Version */
        .course-slider-container {
            width: 100%;
            overflow: hidden;
            position: relative;
            padding: 50px 0; /* Increased from 30px to 50px */
            margin-bottom: 20px;
            box-sizing: border-box;
            max-width: 100vw;
            border: 1px solid rgba(124, 58, 237, 0.1); /* Adding a subtle border */
            border-radius: 8px; /* Adding rounded corners */
        }

        /* Mobile-specific adjustments for courses categories card positioning */
        @media (max-width: 768px) {
            .course-slider-container {
                padding: 30px 0; /* Reduced padding for mobile */
                margin-bottom: 15px; /* Reduced margin for mobile */
            }

            /* Move the courses categories card higher up in mobile */
            .flex.justify-center.mt-8 {
                margin-top: 1rem !important; /* Reduced from mt-8 to mt-4 equivalent */
            }
        }

        @media (max-width: 640px) {
            .course-slider-container {
                padding: 20px 0; /* Further reduced padding for small mobile */
                margin-bottom: 10px; /* Further reduced margin for small mobile */
            }

            /* Move the courses categories card even higher up in small mobile */
            .flex.justify-center.mt-8 {
                margin-top: 0.5rem !important; /* Further reduced margin */
            }
        }

        @media (max-width: 480px) {
            .course-slider-container {
                padding: 15px 0; /* Minimal padding for very small screens */
                margin-bottom: 8px; /* Minimal margin for very small screens */
            }

            /* Minimal top margin for very small screens */
            .flex.justify-center.mt-8 {
                margin-top: 0.25rem !important; /* Minimal margin to prevent collision */
            }

            /* Ensure the courses categories card container has proper spacing */
            .hero-section .flex.justify-center {
                margin-bottom: 1rem !important; /* Add bottom margin to prevent collision with lower content */
            }
        }

        .course-track {
            display: flex;
            animation: courseScroll 80s linear infinite; /* Increased from 60s to 80s for smoother animation */
            width: max-content;
            gap: 0; /* Removed gap since we're using margin-right on cards */
            align-items: stretch;
            padding: 10px 0;
            will-change: transform; /* Performance optimization for animation */
            touch-action: pan-y; /* Improve touch behavior */
            transform: translateZ(0); /* Force hardware acceleration */
            backface-visibility: hidden; /* Prevent flickering */
            perspective: 1000px; /* Improve 3D rendering */
            flex-wrap: nowrap; /* Ensure cards stay in a single row */
        }

        .course-track:hover {
            animation-play-state: paused;
        }

        /* Touch device support */
        @media (hover: none) {
            .course-track {
                animation-play-state: running !important;
            }

            .course-track:active {
                animation-play-state: paused;
            }
        }

        @keyframes courseScroll {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(calc(-280px * 22)); /* Adjusted for 22 course categories with new width of 260px + 20px margin */
            }
        }

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

        @keyframes glowPulse {
            0%, 100% { box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3); }
            50% { box-shadow: 0 15px 35px rgba(124, 58, 237, 0.5); }
        }

        @keyframes iconSpin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        @keyframes buttonPulse {
            0%, 100% { transform: scale(1); box-shadow: 0 4px 10px rgba(124, 58, 237, 0.4); }
            50% { transform: scale(1.08); box-shadow: 0 8px 20px rgba(124, 58, 237, 0.6); }
        }

        .category-card {
            flex: 0 0 auto;
            width: 300px; /* Increased from 260px to 300px */
            margin-right: 20px; /* Increased from 15px to 20px for better spacing */
            transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            perspective: 1000px;
            animation: floatCard 6s ease-in-out infinite;
            animation-delay: calc(var(--card-index, 0) * 0.5s);
            transform: translateZ(0); /* Force hardware acceleration for individual cards */
            backface-visibility: hidden; /* Prevent flickering on individual cards */
        }

        .category-shape {
            width: 100%;
            height: 320px; /* Increased from 280px to 320px */
            background: linear-gradient(135deg, #f0f4ff, #e6eeff);
            border-radius: 14px;
            overflow: hidden;
            position: relative;
            box-shadow: 0 6px 20px rgba(124, 58, 237, 0.25);
            transition: all 0.5s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 1.25rem;
            transform-style: preserve-3d;
            transform: translateZ(0);
        }

        .category-shape:hover {
            transform: translateY(-15px) scale(1.05);
            box-shadow: 0 15px 35px rgba(124, 58, 237, 0.5);
            animation: glowPulse 2s infinite;
        }

        .category-shape::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(124, 58, 237, 0.08), rgba(99, 102, 241, 0.08));
            z-index: 0;
            border-radius: 16px;
            transition: all 0.5s ease;
        }

        .category-shape:hover::before {
            background: linear-gradient(45deg, rgba(124, 58, 237, 0.12), rgba(99, 102, 241, 0.12));
        }

        .category-shape::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            right: -50%;
            bottom: -50%;
            background: linear-gradient(45deg,
                rgba(124, 58, 237, 0.03) 0%,
                rgba(99, 102, 241, 0.03) 25%,
                rgba(124, 58, 237, 0.03) 50%,
                rgba(99, 102, 241, 0.03) 75%,
                rgba(124, 58, 237, 0.03) 100%);
            z-index: 0;
            transform: rotate(30deg);
            animation: rotateGradient 10s linear infinite;
            opacity: 0;
            transition: opacity 0.5s ease;
        }

        .category-shape:hover::after {
            opacity: 1;
        }

        @keyframes rotateGradient {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .category-content {
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;
            height: 100%;
            width: 100%;
            transition: transform 0.5s ease;
        }

        .category-icon {
            background: white;
            width: 90px; /* Increased from 70px to 90px */
            height: 90px; /* Increased from 70px to 90px */
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 25px; /* Increased from 20px to 25px */
            box-shadow: 0 8px 15px rgba(124, 58, 237, 0.3);
            transition: all 0.5s ease;
            position: relative;
            overflow: hidden;
        }

        .category-icon::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(90deg,
                rgba(255, 255, 255, 0) 0%,
                rgba(255, 255, 255, 0.2) 50%,
                rgba(255, 255, 255, 0) 100%);
            transform: rotate(45deg);
            animation: iconShine 3s infinite;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .category-shape:hover .category-icon::after {
            opacity: 1;
        }

        @keyframes iconShine {
            0% { transform: translateX(-100%) rotate(45deg); }
            100% { transform: translateX(100%) rotate(45deg); }
        }

        .category-shape:hover .category-icon {
            transform: scale(1.2) rotate(5deg);
            box-shadow: 0 12px 25px rgba(124, 58, 237, 0.4);
        }

        .category-shape:hover .category-icon svg {
            animation: iconSpin 5s linear infinite;
            color: #6d28d9;
        }

        /* Golden Star in Circle - Top Right Corner */
        .golden-star-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, #FFD700, #FFA500);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
            z-index: 10;
            animation: starPulse 3s infinite alternate;
        }

        .golden-star-badge svg {
            width: 24px;
            height: 24px;
            color: white;
            filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
        }

        @keyframes starPulse {
            0% {
                transform: scale(1) rotate(0deg);
                box-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
            }
            100% {
                transform: scale(1.1) rotate(10deg);
                box-shadow: 0 4px 15px rgba(255, 215, 0, 0.7);
            }
        }

        /* Responsive adjustments for the golden star badge */
        @media (max-width: 768px) {
            .golden-star-badge {
                width: 35px;
                height: 35px;
            }

            .golden-star-badge svg {
                width: 20px;
                height: 20px;
            }
        }

        @media (max-width: 480px) {
            .golden-star-badge {
                width: 30px;
                height: 30px;
                top: 8px;
                right: 8px;
            }

            .golden-star-badge svg {
                width: 18px;
                height: 18px;
            }
        }

        .category-name {
            font-weight: 700;
            color: #4c1d95;
            margin-bottom: 20px; /* Increased from 15px to 20px */
            font-size: 1.3rem; /* Increased from 1.1rem to 1.3rem */
            line-height: 1.3; /* Increased from 1.2 to 1.3 */
            transition: all 0.3s ease;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            max-width: 100%;
            overflow: visible;
            white-space: nowrap; /* Keeping nowrap to prevent text wrapping */
            text-overflow: ellipsis;
            text-align: center;
            padding: 0 5px;
            width: 100%; /* Ensure it takes full width */
            display: inline-block; /* Keeping inline-block for better text control */
        }

        .category-shape:hover .category-name {
            transform: scale(1.05);
            color: #5b21b6;
        }

        .apply-button {
            background: #7c3aed;
            color: white;
            padding: 0.7rem 1.5rem; /* Increased from 0.6rem 1.2rem to 0.7rem 1.5rem */
            border-radius: 30px;
            font-size: 1.1rem; /* Increased from 0.95rem to 1.1rem */
            font-weight: 600;
            transition: all 0.4s ease;
            box-shadow: 0 4px 10px rgba(124, 58, 237, 0.4);
            position: relative;
            overflow: hidden;
            letter-spacing: 0.5px;
        }

        .apply-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg,
                rgba(255, 255, 255, 0) 0%,
                rgba(255, 255, 255, 0.3) 50%,
                rgba(255, 255, 255, 0) 100%);
            transition: all 0.5s ease;
        }

        .apply-button:hover::before {
            left: 100%;
        }

        .apply-button:hover {
            background: #6d28d9;
            transform: scale(1.1);
            box-shadow: 0 8px 20px rgba(124, 58, 237, 0.6);
            animation: buttonPulse 2s infinite;
        }

        /* Responsive adjustments for course categories slider */
        @media (max-width: 1024px) {
            .course-slider-container {
                padding: 40px 0; /* Increased from 20px to 40px */
                width: 100%;
                overflow-x: hidden;
            }

            .category-card {
                width: 320px; /* Increased from 280px to 320px */
                margin-right: 18px; /* Increased from 15px to 18px */
            }

            .category-shape {
                height: 370px; /* Increased from 320px to 370px */
            }

            .category-icon {
                width: 80px; /* Increased from 60px to 80px */
                height: 80px; /* Increased from 60px to 80px */
            }

            .category-name {
                font-size: 1.2rem; /* Increased from 1.1rem to 1.2rem */
                max-width: 100%;
                overflow: visible;
                white-space: normal;
                word-wrap: break-word;
            }

            .apply-button {
                padding: 0.6rem 1.2rem; /* Increased from 0.5rem 1rem to 0.6rem 1.2rem */
                font-size: 1rem; /* Increased from 0.9rem to 1rem */
            }

            @keyframes courseScroll {
                0% {
                    transform: translateX(0);
                }
                100% {
                    transform: translateX(calc(-338px * 22)); /* Adjusted for 22 course categories with new width of 320px + 18px margin */
                }
            }
        }

        @media (max-width: 768px) {
            .course-slider-container {
                padding: 30px 0; /* Increased from 15px to 30px */
                width: 100%;
                overflow-x: hidden;
            }

            .scholarship-notification {
                padding: 6px 10px;
                font-size: 0.8rem;
                bottom: 0;
                right: 0;
                border-radius: 15px 0 0 0; /* Adjusted for medium screens */
            }

            .category-card {
                width: 290px; /* Increased from 250px to 290px */
                margin-right: 15px; /* Increased from 12px to 15px */
            }

            .category-shape {
                height: 340px; /* Increased from 290px to 340px */
            }

            .category-icon {
                width: 70px; /* Increased from 55px to 70px */
                height: 70px; /* Increased from 55px to 70px */
            }

            .category-name {
                font-size: 1.15rem; /* Increased from 1rem to 1.15rem */
                margin-bottom: 15px; /* Increased from 12px to 15px */
                max-width: 100%;
                overflow: visible;
                white-space: nowrap; /* Keeping nowrap to keep text on one line */
                text-overflow: ellipsis;
                line-height: 1.3; /* Increased from 1.2 to 1.3 */
            }

            .apply-button {
                padding: 0.55rem 1.1rem; /* Increased from 0.45rem 0.9rem to 0.55rem 1.1rem */
                font-size: 0.95rem; /* Increased from 0.85rem to 0.95rem */
            }

            @keyframes courseScroll {
                0% {
                    transform: translateX(0);
                }
                100% {
                    transform: translateX(calc(-305px * 22)); /* Adjusted for 22 course categories with new width of 290px + 15px margin */
                }
            }
        }

        /* Additional mobile adjustments for smaller screens */
        @media (max-width: 480px) {
            .course-slider-container {
                padding: 25px 0; /* Increased from 10px to 25px */
                width: 100vw;
                max-width: 100%;
                overflow-x: hidden;
                margin-left: -10px;
                margin-right: -10px;
            }

            .scholarship-notification {
                padding: 5px 8px;
                font-size: 0.75rem;
                bottom: 0;
                right: 0;
                max-width: 160px;
                border-radius: 15px 0 0 0; /* Adjusted for smaller screens */
            }

            .course-track {
                gap: 10px;
                padding: 5px 0;
            }

            .category-card {
                width: 270px; /* Increased from 230px to 270px */
                margin-right: 12px; /* Increased from 10px to 12px */
            }

            .category-shape {
                height: 310px; /* Increased from 270px to 310px */
                padding: 1rem;
            }

            .category-icon {
                width: 60px;
                height: 60px;
                margin-bottom: 15px;
            }

            .category-name {
                font-size: 1rem;
                margin-bottom: 10px;
            }

            .apply-button {
                padding: 0.5rem 1rem;
                font-size: 0.9rem;
            }

            @keyframes courseScroll {
                0% {
                    transform: translateX(0);
                }
                100% {
                    transform: translateX(calc(-282px * 22)); /* Adjusted for 22 course categories with new width of 270px + 12px margin */
                }
            }

            .golden-star-badge {
                width: 30px;
                height: 30px;
                top: 5px;
                right: 5px;
            }

            .golden-star-badge svg {
                width: 18px;
                height: 18px;
            }
        }

        /* Commerce card specific styles */
        .commerce-card {
            position: relative;
            z-index: 10;
        }

        .commerce-card .category-shape {
            background: linear-gradient(135deg, #f0f4ff, #e6eeff);
            box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .commerce-card:hover .category-shape {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(124, 58, 237, 0.5);
        }

        .commerce-notification {
            background: linear-gradient(135deg, #ff5252, #ff7043);
            animation: notificationPulse 2s infinite alternate;
        }

        .commerce-apply-button {
            background: linear-gradient(135deg, #7c3aed, #6d28d9);
            color: white;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
            animation: buttonPulse 3s infinite alternate;
        }

        .commerce-apply-button:hover {
            background: linear-gradient(135deg, #6d28d9, #5b21b6);
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(124, 58, 237, 0.5);
        }

        @keyframes buttonPulse {
            0% {
                transform: scale(1);
                box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
            }
            100% {
                transform: scale(1.05);
                box-shadow: 0 6px 15px rgba(124, 58, 237, 0.5);
            }
        }

        /* Responsive styles for Commerce card */
        @media (max-width: 768px) {
            .commerce-card .category-shape {
                box-shadow: 0 8px 20px rgba(124, 58, 237, 0.25);
            }

            .commerce-card:hover .category-shape {
                transform: translateY(-7px);
            }

            .commerce-apply-button {
                padding: 0.6rem 1.2rem;
            }

            @keyframes buttonPulse {
                0% {
                    transform: scale(1);
                    box-shadow: 0 3px 8px rgba(124, 58, 237, 0.3);
                }
                100% {
                    transform: scale(1.03);
                    box-shadow: 0 5px 12px rgba(124, 58, 237, 0.5);
                }
            }
        }

        @media (max-width: 480px) {
            .commerce-card .category-shape {
                box-shadow: 0 6px 15px rgba(124, 58, 237, 0.2);
            }

            .commerce-card:hover .category-shape {
                transform: translateY(-5px);
            }

            .commerce-apply-button {
                padding: 0.5rem 1rem;
                font-size: 0.9rem;
            }
        }

        /* Very small screens */
        @media (max-width: 360px) {
            .course-slider-container {
                padding: 20px 0; /* Increased from 8px to 20px */
            }

            .scholarship-notification {
                padding: 4px 6px;
                font-size: 0.7rem;
                bottom: 0;
                right: 0;
                max-width: 140px;
                border-radius: 12px 0 0 0; /* Further adjusted for very small screens */
            }

            .category-card {
                width: 230px; /* Increased from 200px to 230px */
                margin-right: 10px; /* Increased from 8px to 10px */
            }

            .category-shape {
                height: 290px; /* Increased from 250px to 290px */
                padding: 0.8rem;
            }

            .category-icon {
                width: 50px;
                height: 50px;
                margin-bottom: 12px;
            }

            .category-name {
                font-size: 0.9rem;
                margin-bottom: 8px;
            }

            .apply-button {
                padding: 0.4rem 0.8rem;
                font-size: 0.8rem;
            }

            .commerce-apply-button {
                padding: 0.4rem 0.8rem;
                font-size: 0.8rem;
            }

            .commerce-card:hover .category-shape {
                transform: translateY(-3px);
            }
        }

            @keyframes courseScroll {
                0% {
                    transform: translateX(0);
                }
                100% {
                    transform: translateX(calc(-188px * 22)); /* Adjusted for 22 course categories with new width */
                }
            }

        /* Financial Benefits Section Styles */
        .financial-benefits-container {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
        }

        .financial-benefits-container:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }

        .benefit-icon {
            transition: all 0.3s ease;
        }

        .benefit-item:hover .benefit-icon {
            transform: scale(1.1);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        .benefit-item {
            transition: all 0.3s ease;
            border-radius: 8px;
            padding: 8px;
        }

        .benefit-item:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateX(5px);
        }

        /* Perfect Circle Icon Fix */
        .financial-benefit-icon {
            width: 24px !important;
            height: 24px !important;
            min-width: 24px !important;
            min-height: 24px !important;
            border-radius: 50% !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            flex-shrink: 0 !important;
            box-sizing: border-box !important;
            position: relative !important;
        }

        .financial-benefit-icon::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border-radius: 50%;
            background: inherit;
            z-index: -1;
        }

        /* Ensure icons inside are properly centered */
        .financial-benefit-icon > * {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 100% !important;
            height: 100% !important;
            text-align: center !important;
            line-height: 1 !important;
        }

        /* Responsive adjustments for financial benefits */
        @media (max-width: 1024px) {
            .financial-benefits-container {
                margin-top: 1rem;
            }
        }

        @media (max-width: 768px) {
            .financial-benefits-container {
                padding: 1rem;
            }

            .benefit-item {
                padding: 6px;
            }

            .financial-benefit-icon {
                width: 20px !important;
                height: 20px !important;
                min-width: 20px !important;
                min-height: 20px !important;
            }
        }

        @media (max-width: 480px) {
            .financial-benefit-icon {
                width: 18px !important;
                height: 18px !important;
                min-width: 18px !important;
                min-height: 18px !important;
            }
        }

        /* Mobile Financial Benefits Centering */
        @media (max-width: 768px) {
            /* Hide floating elements on mobile to prevent interference */
            .floating-element {
                display: none !important;
            }

            /* Center the video and benefits container */
            .hero-section .flex.flex-col.lg\:flex-row.gap-4 {
                flex-direction: column !important;
                align-items: center !important;
                justify-content: center !important;
                text-align: center !important;
            }

            /* Center the financial benefits container */
            .hero-section .p-4 {
                display: flex !important;
                flex-direction: column !important;
                align-items: center !important;
                justify-content: center !important;
                text-align: center !important;
                width: 100% !important;
                padding: 1rem !important;
                margin: 0 auto !important;
            }

            /* Center the financial benefits title */
            .hero-section .p-4 h3 {
                text-align: center !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                margin-bottom: 1rem !important;
            }

            /* Center the benefits list */
            .hero-section .space-y-2 {
                display: flex !important;
                flex-direction: column !important;
                align-items: center !important;
                justify-content: center !important;
                width: 100% !important;
                max-width: 300px !important;
                margin: 0 auto !important;
            }

            /* Center individual benefit items */
            .hero-section .space-y-2 > div {
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                text-align: center !important;
                width: 100% !important;
                margin-bottom: 0.75rem !important;
            }

            /* Center the video container with left margin */
            .hero-section video {
                margin: 0 auto 0 1rem !important;
                display: block !important;
                z-index: 20 !important;
                position: relative !important;
            }

            /* Ensure video section has proper z-index on mobile */
            .hero-section .lg\:col-span-5 {
                z-index: 25 !important;
                position: relative !important;
            }
        }

        /* iOS specific fixes */
        @supports (-webkit-touch-callout: none) {
            body {
                min-height: -webkit-fill-available;
                padding-bottom: env(safe-area-inset-bottom);
            }

            html {
                height: -webkit-fill-available;
            }
        }

        /* Enhanced Video element styles - Clean display without container */
        #video-section {
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
            position: relative !important;
            z-index: 10 !important;
            border: none !important;
            box-shadow: none !important;
            background: transparent !important;
        }

        /* Mobile video fixes */
        @media (max-width: 768px) {
            #video-section {
                display: block !important;
                visibility: visible !important;
                opacity: 1 !important;
                position: relative !important;
                z-index: 25 !important;
                margin: 0 auto !important;
                width: 100% !important;
                max-width: 100% !important;
                height: auto !important;
            }
        }

        /* Force video visibility on all screen sizes */
        .hero-section #video-section {
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
            position: relative !important;
        }

        /* Play button overlay styles */
        .play-button-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: rgba(0, 0, 0, 0.3);
            z-index: 2;
            cursor: pointer;
        }

        .play-button {
            background: none;
            border: none;
            cursor: pointer;
            opacity: 0.9;
            transition: transform 0.2s ease, opacity 0.2s ease;
        }

        .play-button:hover {
            transform: scale(1.1);
            opacity: 1;
        }



        /* Enhanced Hero Section Specific Styles */
        .hero-section {
            padding-top: 0.25rem;
            padding-bottom: 4rem;
            min-height: 100vh;
            position: relative;
            overflow: hidden;
        }

        .hero-section .slide-in-left {
            animation-delay: 0.2s;
        }

        .hero-section .slide-in-right {
            animation-delay: 0.4s;
        }

        /* Floating SVG Elements */
        .floating-element {
            position: absolute;
            pointer-events: none;
            z-index: 1;
            opacity: 0.6 !important;
            transition: all 0.3s ease;
            visibility: visible !important;
        }

        .floating-book {
            animation: floatBook 8s ease-in-out infinite;
        }

        .floating-graduation {
            animation: floatGraduation 10s ease-in-out infinite;
        }

        .floating-certificate {
            animation: floatCertificate 12s ease-in-out infinite;
        }

        .floating-star {
            animation: floatStar 6s ease-in-out infinite;
        }

        .floating-lightbulb {
            animation: floatLightbulb 9s ease-in-out infinite;
        }

        .floating-trophy {
            animation: floatTrophy 11s ease-in-out infinite;
        }

        @keyframes floatBook {
            0%, 100% {
                transform: translateY(0px) rotate(0deg) scale(1);
                opacity: 0.7;
            }
            25% {
                transform: translateY(-20px) rotate(5deg) scale(1.1);
                opacity: 0.9;
            }
            50% {
                transform: translateY(-10px) rotate(-3deg) scale(1.05);
                opacity: 0.8;
            }
            75% {
                transform: translateY(-25px) rotate(8deg) scale(1.15);
                opacity: 0.95;
            }
        }

        @keyframes floatGraduation {
            0%, 100% {
                transform: translateY(0px) rotate(0deg) scale(1);
                opacity: 0.6;
            }
            30% {
                transform: translateY(-30px) rotate(-10deg) scale(1.2);
                opacity: 0.9;
            }
            60% {
                transform: translateY(-15px) rotate(5deg) scale(1.1);
                opacity: 0.8;
            }
            90% {
                transform: translateY(-35px) rotate(-15deg) scale(1.25);
                opacity: 0.95;
            }
        }

        @keyframes floatCertificate {
            0%, 100% {
                transform: translateY(0px) rotate(0deg) scale(1);
                opacity: 0.7;
            }
            20% {
                transform: translateY(-15px) rotate(3deg) scale(1.05);
                opacity: 0.85;
            }
            40% {
                transform: translateY(-25px) rotate(-5deg) scale(1.1);
                opacity: 0.9;
            }
            60% {
                transform: translateY(-20px) rotate(7deg) scale(1.15);
                opacity: 0.95;
            }
            80% {
                transform: translateY(-30px) rotate(-2deg) scale(1.08);
                opacity: 0.88;
            }
        }

        @keyframes floatStar {
            0%, 100% {
                transform: translateY(0px) rotate(0deg) scale(1);
                opacity: 0.8;
            }
            25% {
                transform: translateY(-10px) rotate(90deg) scale(1.3);
                opacity: 1;
            }
            50% {
                transform: translateY(-5px) rotate(180deg) scale(1.1);
                opacity: 0.9;
            }
            75% {
                transform: translateY(-15px) rotate(270deg) scale(1.4);
                opacity: 1;
            }
        }

        @keyframes floatLightbulb {
            0%, 100% {
                transform: translateY(0px) scale(1);
                opacity: 0.7;
                filter: brightness(1);
            }
            33% {
                transform: translateY(-20px) scale(1.2);
                opacity: 1;
                filter: brightness(1.5);
            }
            66% {
                transform: translateY(-10px) scale(1.1);
                opacity: 0.9;
                filter: brightness(1.2);
            }
        }

        @keyframes floatTrophy {
            0%, 100% {
                transform: translateY(0px) rotate(0deg) scale(1);
                opacity: 0.7;
            }
            25% {
                transform: translateY(-25px) rotate(-5deg) scale(1.15);
                opacity: 0.9;
            }
            50% {
                transform: translateY(-15px) rotate(3deg) scale(1.1);
                opacity: 0.85;
            }
            75% {
                transform: translateY(-30px) rotate(-8deg) scale(1.2);
                opacity: 0.95;
            }
        }

        /* Interactive Particles */
        .particle-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 3;
        }

        .interactive-particle {
            position: absolute;
            width: 4px;
            height: 4px;
            background: radial-gradient(circle, #fbbf24, #f59e0b);
            border-radius: 50%;
            opacity: 0;
            animation: particleFloat 4s ease-in-out infinite;
        }

        @keyframes particleFloat {
            0% {
                opacity: 0;
                transform: translateY(100px) scale(0);
            }
            20% {
                opacity: 1;
                transform: translateY(80px) scale(1);
            }
            80% {
                opacity: 1;
                transform: translateY(-80px) scale(1.2);
            }
            100% {
                opacity: 0;
                transform: translateY(-100px) scale(0);
            }
        }

        /* Morphing Background Elements */
        .morphing-shape {
            position: absolute;
            border-radius: 50%;
            background: linear-gradient(45deg, rgba(124, 58, 237, 0.1), rgba(99, 102, 241, 0.1));
            animation: morphShape 15s ease-in-out infinite;
        }

        @keyframes morphShape {
            0%, 100% {
                border-radius: 50%;
                transform: rotate(0deg) scale(1);
            }
            25% {
                border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
                transform: rotate(90deg) scale(1.1);
            }
            50% {
                border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
                transform: rotate(180deg) scale(0.9);
            }
            75% {
                border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
                transform: rotate(270deg) scale(1.2);
            }
        }

        /* Enhanced backdrop blur effects */
        .backdrop-blur-md {
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
        }

        .backdrop-blur-lg {
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
        }

        /* Enhanced button hover effects */
        .group:hover .group-hover\:scale-110 {
            transform: scale(1.1);
        }

        /* Enhanced video container styles */
        .video-enhanced {
            position: relative;
            overflow: hidden;
            border-radius: 1rem;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        }

        .video-enhanced::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
            z-index: 1;
            pointer-events: none;
        }

        /* Enhanced course slider container */
        .course-slider-enhanced {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        }

        /* Enhanced animations for hero elements */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInLeft {
            from {
                opacity: 0;
                transform: translateX(-30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

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

        .animate-fade-in-up {
            animation: fadeInUp 0.8s ease-out forwards;
        }

        .animate-fade-in-left {
            animation: fadeInLeft 0.8s ease-out forwards;
        }

        .animate-fade-in-right {
            animation: fadeInRight 0.8s ease-out forwards;
        }

        /* Advanced Scroll-Triggered Animations */
        .scroll-reveal {
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .scroll-reveal.revealed {
            opacity: 1;
            transform: translateY(0);
        }

        .scroll-reveal-left {
            opacity: 0;
            transform: translateX(-50px);
            transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .scroll-reveal-left.revealed {
            opacity: 1;
            transform: translateX(0);
        }

        .scroll-reveal-right {
            opacity: 0;
            transform: translateX(50px);
            transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .scroll-reveal-right.revealed {
            opacity: 1;
            transform: translateX(0);
        }

        /* Magnetic Hover Effects */
        .magnetic-element {
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        /* Ripple Effect */
        .ripple-effect {
            position: relative;
            overflow: hidden;
        }

        .ripple-effect::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }

        .ripple-effect:hover::before {
            width: 300px;
            height: 300px;
        }

        /* Glowing Text Effect */
        .glow-text {
            text-shadow: 0 0 10px rgba(251, 191, 36, 0.5),
                         0 0 20px rgba(251, 191, 36, 0.3),
                         0 0 30px rgba(251, 191, 36, 0.2);
            animation: textGlow 3s ease-in-out infinite alternate;
        }

        @keyframes textGlow {
            from {
                text-shadow: 0 0 10px rgba(251, 191, 36, 0.5),
                             0 0 20px rgba(251, 191, 36, 0.3),
                             0 0 30px rgba(251, 191, 36, 0.2);
            }
            to {
                text-shadow: 0 0 15px rgba(251, 191, 36, 0.8),
                             0 0 25px rgba(251, 191, 36, 0.6),
                             0 0 35px rgba(251, 191, 36, 0.4);
            }
        }

        /* Floating Animation Delays */
        .floating-element:nth-child(1) { animation-delay: 0s; }
        .floating-element:nth-child(2) { animation-delay: 1s; }
        .floating-element:nth-child(3) { animation-delay: 2s; }
        .floating-element:nth-child(4) { animation-delay: 3s; }
        .floating-element:nth-child(5) { animation-delay: 4s; }
        .floating-element:nth-child(6) { animation-delay: 5s; }

        /* Pulsing Elements */
        .pulse-glow {
            animation: pulseGlow 2s ease-in-out infinite;
        }

        @keyframes pulseGlow {
            0%, 100% {
                box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
                transform: scale(1);
            }
            50% {
                box-shadow: 0 0 40px rgba(124, 58, 237, 0.8);
                transform: scale(1.05);
            }
        }

        /* Ripple Effect Styles */
        .ripple {
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.6);
            transform: scale(0);
            animation: rippleAnimation 0.6s linear;
            pointer-events: none;
        }

        @keyframes rippleAnimation {
            to {
                transform: scale(4);
                opacity: 0;
            }
        }

        /* Enhanced Video Section Animations */
        .video-enhanced-container {
            position: relative;
            overflow: hidden;
        }

        .video-enhanced-container::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: conic-gradient(from 0deg, transparent, rgba(124, 58, 237, 0.1), transparent);
            animation: videoRotate 20s linear infinite;
            z-index: 0;
        }

        @keyframes videoRotate {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Floating Text Animation */
        .floating-text {
            animation: floatingText 4s ease-in-out infinite;
        }

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

        /* Enhanced Gradient Animation */
        .gradient-shift {
            background: linear-gradient(-45deg, #7c3aed, #4f46e5, #6366f1, #8b5cf6);
            background-size: 400% 400%;
            animation: gradientShift 8s ease infinite;
        }

        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }



        /* Enhanced glassmorphism effects */
        .glass-effect {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
        }

        .glass-effect-strong {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.4);
        }

        /* Enhanced button styles */
        .btn-primary-enhanced {
            background: linear-gradient(135deg, #fbbf24, #f59e0b);
            box-shadow: 0 10px 25px rgba(251, 191, 36, 0.4);
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .btn-primary-enhanced:hover {
            background: linear-gradient(135deg, #f59e0b, #d97706);
            box-shadow: 0 15px 35px rgba(251, 191, 36, 0.6);
            transform: translateY(-2px) scale(1.02);
        }

        .btn-secondary-enhanced {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .btn-secondary-enhanced:hover {
            background: rgba(255, 255, 255, 0.25);
            border: 1px solid rgba(255, 255, 255, 0.4);
            transform: translateY(-2px) scale(1.02);
        }

        /* Hero Stats Section */
        .hero-stats {
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            z-index: 1;
            overflow: hidden;
        }

        /* Custom shaped card styles */
        .custom-card-shape {
            border-radius: 40px;
            border-top-right-radius: 100px;
            border-bottom-left-radius: 100px;
            animation: cardPulse 3s infinite alternate ease-in-out;
        }

        @keyframes cardPulse {
            0% {
                box-shadow: 0 10px 30px rgba(124, 58, 237, 0.15), 0 5px 15px rgba(99, 102, 241, 0.1);
            }
            100% {
                box-shadow: 0 15px 40px rgba(124, 58, 237, 0.25), 0 10px 20px rgba(99, 102, 241, 0.15);
            }
        }

        @keyframes gradientBorder {
            0% {
                background: linear-gradient(45deg, rgba(124, 58, 237, 0.3), rgba(99, 102, 241, 0.3), rgba(167, 139, 250, 0.3));
            }
            25% {
                background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(99, 102, 241, 0.3), rgba(167, 139, 250, 0.3));
            }
            50% {
                background: linear-gradient(225deg, rgba(124, 58, 237, 0.3), rgba(99, 102, 241, 0.3), rgba(167, 139, 250, 0.3));
            }
            75% {
                background: linear-gradient(315deg, rgba(124, 58, 237, 0.3), rgba(99, 102, 241, 0.3), rgba(167, 139, 250, 0.3));
            }
            100% {
                background: linear-gradient(45deg, rgba(124, 58, 237, 0.3), rgba(99, 102, 241, 0.3), rgba(167, 139, 250, 0.3));
            }
        }

        /* Gradient border for the card */
        .card-border-gradient {
            position: relative;
            border: none;
            z-index: 1;
        }

        .card-border-gradient::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: 40px;
            border-top-right-radius: 100px;
            border-bottom-left-radius: 100px;
            padding: 2px;
            background: linear-gradient(45deg, rgba(124, 58, 237, 0.3), rgba(99, 102, 241, 0.3), rgba(167, 139, 250, 0.3));
            animation: gradientBorder 6s linear infinite;
            -webkit-mask:
                linear-gradient(#fff 0 0) content-box,
                linear-gradient(#fff 0 0);
            mask:
                linear-gradient(#fff 0 0) content-box,
                linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            z-index: -1;
        }

        /* Custom shaped card responsive styles */
        @media (max-width: 768px) {
            [style*="border-radius: 40px; border-top-right-radius: 100px; border-bottom-left-radius: 100px"],
            .custom-card-shape {
                border-radius: 30px !important;
                border-top-right-radius: 70px !important;
                border-bottom-left-radius: 70px !important;
                padding: 1.25rem !important;
            }

            .card-border-gradient::before {
                border-radius: 30px !important;
                border-top-right-radius: 70px !important;
                border-bottom-left-radius: 70px !important;
            }
        }

        @media (max-width: 480px) {
            [style*="border-radius: 40px; border-top-right-radius: 100px; border-bottom-left-radius: 100px"],
            .custom-card-shape {
                border-radius: 25px !important;
                border-top-right-radius: 50px !important;
                border-bottom-left-radius: 50px !important;
                padding: 1.5rem !important;
            }

            .card-border-gradient::before {
                border-radius: 25px !important;
                border-top-right-radius: 50px !important;
                border-bottom-left-radius: 50px !important;
            }
        }

        .hero-stats:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px -5px rgba(124, 58, 237, 0.2), 0 10px 10px -5px rgba(124, 58, 237, 0.1);
        }

        .hero-stats::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom right, rgba(255,255,255,0.2), rgba(255,255,255,0));
            z-index: -1;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .hero-stats:hover::after {
            opacity: 1;
        }

        .hero-stats h3 {
            position: relative;
            display: inline-block;
        }

        .hero-stats h3::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: rgba(255,255,255,0.5);
            transition: width 0.3s ease;
        }

        .hero-stats:hover h3::after {
            width: 100%;
        }

        @keyframes pulse-soft {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.03); }
        }

        .hero-stats:hover .w-8 {
            animation: pulse-soft 2s infinite;
        }

        /* Hero Form Styles */
        .hero-form input:focus,
        .hero-form select:focus {
            border-color: #7c3aed !important;
            box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2);
        }

        .hero-form input,
        .hero-form select,
        .hero-form button {
            transition: all 0.2s ease;
        }

        .hero-form input:hover,
        .hero-form select:hover {
            border-color: #a78bfa;
        }

        .hero-form button:active {
            transform: scale(0.98);
        }

        /* Left-aligned text content styles */
        .hero-section .grid {
            
            align-items: start !important;
        }
        
        .hero-section h1,
        .hero-section p,
        .hero-section .video-text-container,
        

        /* Override for the specific scholarship categories description */
        .hero-section p.text-center {
            text-align: center !important;
        }

        /* Specific override for Popular Courses description text - Center aligned */
        .hero-section .text-center.max-w-2xl {
            text-align: center !important;
        }

        /* Enhanced Video Container Styles - Square Shape with Increased Size */
        .video-container-wrapper {
            position: relative;
            background: transparent !important;
            border: none !important;
            padding: 0 !important;
            margin: 1rem auto !important;
            width: 350px !important;
            height: 350px !important;
            border-radius: 15px !important;
            overflow: hidden !important;
            box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25) !important;
            transition: all 0.3s ease !important;
        }

        .video-container-wrapper:hover {
            transform: translateY(-5px) !important;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4) !important;
        }

        .video-optimized {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
            border-radius: 15px !important;
            background: #000 !important;
            border: none !important;
            outline: none !important;
        }

        /* Beautiful Purple Gradient Background for Hero Section */
        .hero-section {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #5b21b6 100%) !important;
            background-attachment: fixed;
            position: relative;
        }

        /* Add animated gradient overlay for extra visual appeal */
        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg,
                rgba(139, 92, 246, 0.1) 0%,
                rgba(124, 58, 237, 0.15) 25%,
                rgba(99, 102, 241, 0.1) 50%,
                rgba(168, 85, 247, 0.15) 75%,
                rgba(139, 92, 246, 0.1) 100%);
            background-size: 400% 400%;
            animation: gradientShift 15s ease infinite;
            z-index: 1;
            pointer-events: none;
        }

        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        /* Ensure content appears above the gradient overlay */
        .hero-section > * {
            position: relative;
            z-index: 2;
        }

        /* Responsive video container adjustments - Maintaining Square Shape with Increased Sizes */
        @media (max-width: 768px) {
            .video-container-wrapper {
                margin: 0.75rem auto !important;
                width: 320px !important;
                height: 320px !important;
                border-radius: 12px !important;
                box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
            }

            .video-optimized {
                border-radius: 12px !important;
            }
        }

        @media (max-width: 480px) {
            .video-container-wrapper {
                margin: 0.5rem auto !important;
                width: 280px !important;
                height: 280px !important;
                border-radius: 10px !important;
                box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15) !important;
            }

            .video-optimized {
                border-radius: 10px !important;
            }
        }

        @media (max-width: 375px) {
            .video-container-wrapper {
                margin: 0.5rem auto !important;
                width: 250px !important;
                height: 250px !important;
                border-radius: 8px !important;
            }

            .video-optimized {
                border-radius: 8px !important;
            }
        }

        .hero-section .flex.flex-col.items-start {
            align-items: flex-start !important;
            text-align: left !important;
            margin-left: 0 !important;
            padding-left: 0 !important;
        }

        /* Enhanced Hero Section Responsive Adjustments */
        @media (max-width: 1023px) {
            .hero-section {
                padding-top: 1rem;
                padding-bottom: 4rem;
                min-height: 90vh;
            }

            .hero-section .grid {
                gap: 3rem;
                justify-items: center !important;
                padding-left: 0.25rem !important;
            }

            .hero-section .lg\:col-span-7 {
                text-align: center !important;
            }

            .hero-section .lg\:col-span-5 {
                order: -1;
                margin-bottom: 2rem;
            }
        }

        @media (max-width: 767px) {
            .hero-section {
                min-height: 100vh;
                padding-top: 1rem;
                padding-bottom: 3rem;
            }

            .hero-section h1 {
                font-size: 2.5rem !important;
                text-align: center !important;
                margin-bottom: 1.5rem;
                line-height: 1.1 !important;
            }

            .hero-section .lg\:col-span-7 {
                text-align: center !important;
            }

            .hero-section .space-y-6 {
                display: flex;
                flex-direction: column;
                align-items: center;
                text-align: center;
                margin-bottom: 2rem;
            }

            .hero-section .flex.flex-col.sm\:flex-row {
                flex-direction: column !important;
                gap: 1rem !important;
                align-items: center !important;
            }

            .hero-section .min-w-\[200px\] {
                min-width: 250px !important;
                width: 100% !important;
                max-width: 300px !important;
            }

            .hero-section .grid {
                gap: 2rem;
                justify-items: center !important;
                padding-left: 0.25rem !important;
                padding-right: 0.5rem !important;
            }

            .hero-section .lg\:col-span-5 {
                order: -1;
                margin-bottom: 2rem;
            }

            .hero-section .max-w-md {
                max-width: 20rem !important;
            }

            /* Enhanced mobile video styling */
            .hero-section .bg-gradient-to-br {
                padding: 1rem !important;
            }

            /* Enhanced mobile course cards section */
            .hero-section .mt-16 {
                margin-top: 3rem !important;
            }

            .hero-section .text-3xl.md\:text-4xl {
                font-size: 2rem !important;
            }

            .hero-section .text-lg.max-w-2xl {
                font-size: 1rem !important;
                max-width: 100% !important;
            }
        }

        @media (max-width: 480px) {
            .hero-section h1 {
                font-size: 2rem !important;
            }

            .hero-section .text-lg.md\:text-xl {
                font-size: 1rem !important;
            }

            .hero-section .text-base.md\:text-lg {
                font-size: 0.875rem !important;
            }

            .hero-section .min-w-\[200px\] {
                min-width: 200px !important;
                padding: 0.75rem 1.5rem !important;
                font-size: 1rem !important;
            }

            .hero-section .max-w-md {
                max-width: 18rem !important;
            }

            .hero-section .bg-gradient-to-br {
                padding: 0.75rem !important;
            }

            .hero-section .text-3xl.md\:text-4xl {
                font-size: 1.75rem !important;
            }
        }

        @media (max-width: 480px) {
            .hero-section .grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .hero-stats .text-2xl {
                font-size: 1.25rem;
            }

            .hero-stats p.font-medium {
                font-size: 0.75rem;
            }

            .hero-stats .text-xs {
                font-size: 0.65rem;
            }

            .hero-stats .w-8 {
                width: 1.5rem;
            }
        }

        @media (max-width: 640px) {
            .hero-section {
                padding-top: 15px !important;
                align-items: flex-start !important;
            }
        }

        /* Custom heading alignment styles */
        .heading-center-aligned {
            text-align: center !important;
            width: 100% !important;
            display: block !important;
        }

        .heading-full-width-left {
            text-align: left !important;
            width: 100% !important;
            display: block !important;
            max-width: 100% !important;
            margin-left: 0 !important;
            padding-left: 0 !important;
        }

        /* Responsive adjustments for custom headings */
        @media (max-width: 768px) {
            .heading-full-width-left {
                text-align: center !important;
            }

            /* Allow text wrapping on smaller screens for better readability */
            .heading-full-width-left.whitespace-nowrap {
                white-space: normal !important;
                font-size: 1.875rem !important; /* text-3xl equivalent */
            }
        }

        @media (max-width: 480px) {
            .heading-full-width-left.whitespace-nowrap {
                font-size: 1.5rem !important; /* text-2xl equivalent */
                line-height: 1.2 !important;
            }
        }

        /* Reduced spacing for content section */
        .content-spacing-reduced {
            margin-top: 0 !important;
            margin-bottom: 0 !important;
            padding-top: 0 !important;
            padding-bottom: 0 !important;
        }

        .content-spacing-reduced p {
            margin-top: 0.25rem !important;
            margin-bottom: 0.25rem !important;
        }

        /* Mobile spacing adjustments */
        @media (max-width: 768px) {
            .video-container {
                margin-bottom: 0.5rem !important;
            }

            .content-spacing-reduced {
                margin-top: 0 !important;
                padding-top: 0 !important;
            }

            .content-spacing-reduced p {
                margin-top: 0.125rem !important;
                margin-bottom: 0.125rem !important;
            }
        }

        /* Trust Rating Container Responsive Styles */
        .trust-rating-container {
            flex-wrap: wrap;
            gap: 0.25rem;
        }

        /* Mobile responsive styles for trust rating */
        @media (max-width: 768px) {
            .trust-rating-container {
                flex-direction: row;
                flex-wrap: wrap;
                align-items: center;
                justify-content: center;
                gap: 0.25rem;
                padding: 0.5rem;
            }

            .trust-text {
                font-size: 0.875rem !important;
                margin-bottom: 0;
                white-space: nowrap;
            }

            .trust-subtext {
                font-size: 0.875rem !important;
                margin-bottom: 0;
                text-align: center;
                white-space: nowrap;
            }

            .rating-text {
                font-size: 0.875rem !important;
                margin-left: 0.25rem !important;
                margin-bottom: 0;
                white-space: nowrap;
            }

            .star-container {
                font-size: 0.875rem;
                gap: 0.125rem;
                margin-left: 0.25rem;
            }
        }

        /* Small mobile devices */
        @media (max-width: 480px) {
            .trust-rating-container {
                padding: 0.25rem;
                gap: 0.125rem;
                flex-wrap: nowrap;
                overflow-x: auto;
            }

            .trust-text {
                font-size: 0.75rem !important;
                white-space: nowrap;
            }

            .trust-subtext {
                font-size: 0.75rem !important;
                line-height: 1.2;
                white-space: nowrap;
            }

            .rating-text {
                font-size: 0.75rem !important;
                white-space: nowrap;
            }

            .star-container {
                font-size: 0.75rem;
                white-space: nowrap;
            }
        }

        /* Extra small mobile devices */
        @media (max-width: 360px) {
            .trust-rating-container {
                padding: 0.125rem;
                flex-wrap: nowrap;
                overflow-x: auto;
                gap: 0.125rem;
            }

            .trust-text, .trust-subtext, .rating-text {
                font-size: 0.7rem !important;
                white-space: nowrap;
            }

            .star-container {
                font-size: 0.7rem;
                white-space: nowrap;
            }
        }

        /* Tablet responsive styles */
        @media (min-width: 769px) and (max-width: 1024px) {
            .trust-rating-container {
                flex-direction: row;
                flex-wrap: wrap;
                justify-content: center;
                gap: 0.5rem;
            }

            .trust-text {
                font-size: 1.125rem !important;
            }

            .trust-subtext {
                font-size: 1rem !important;
            }

            .rating-text {
                font-size: 1rem !important;
            }

            .star-container {
                font-size: 1.125rem;
            }
        }
        .star {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
}

/* Floating Circles Animation */
.floating-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    pointer-events: none;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 0 10px rgba(79, 172, 254, 0.5);
    animation: floatAnimation 15s infinite ease-in-out;
}

/* Different sized and positioned floating circles */
.circle-1 {
    width: 15px;
    height: 15px;
    top: 12%;
    left: 8%;
    animation-delay: 0s;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.circle-2 {
    width: 10px;
    height: 10px;
    top: 25%;
    left: 15%;
    animation-delay: 1s;
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
}

.circle-3 {
    width: 20px;
    height: 20px;
    top: 18%;
    left: 25%;
    animation-delay: 2s;
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
}

.circle-4 {
    width: 12px;
    height: 12px;
    top: 35%;
    left: 10%;
    animation-delay: 3s;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.circle-5 {
    width: 18px;
    height: 18px;
    top: 45%;
    left: 20%;
    animation-delay: 4s;
    background: linear-gradient(135deg, #5ee7df 0%, #b490ca 100%);
}

.circle-6 {
    width: 8px;
    height: 8px;
    top: 60%;
    left: 15%;
    animation-delay: 5s;
    background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
}

.circle-7 {
    width: 14px;
    height: 14px;
    top: 75%;
    left: 8%;
    animation-delay: 6s;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.circle-8 {
    width: 16px;
    height: 16px;
    top: 85%;
    left: 20%;
    animation-delay: 7s;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.circle-9 {
    width: 10px;
    height: 10px;
    top: 15%;
    left: 75%;
    animation-delay: 8s;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.circle-10 {
    width: 22px;
    height: 22px;
    top: 25%;
    left: 85%;
    animation-delay: 9s;
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
}

.circle-11 {
    width: 12px;
    height: 12px;
    top: 35%;
    left: 80%;
    animation-delay: 10s;
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
}

.circle-12 {
    width: 18px;
    height: 18px;
    top: 50%;
    left: 90%;
    animation-delay: 11s;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.circle-13 {
    width: 8px;
    height: 8px;
    top: 65%;
    left: 85%;
    animation-delay: 12s;
    background: linear-gradient(135deg, #5ee7df 0%, #b490ca 100%);
}

.circle-14 {
    width: 14px;
    height: 14px;
    top: 80%;
    left: 75%;
    animation-delay: 13s;
    background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
}

.circle-15 {
    width: 16px;
    height: 16px;
    top: 20%;
    left: 45%;
    animation-delay: 14s;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.circle-16 {
    width: 10px;
    height: 10px;
    top: 40%;
    left: 55%;
    animation-delay: 2s;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.circle-17 {
    width: 20px;
    height: 20px;
    top: 60%;
    left: 45%;
    animation-delay: 5s;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.circle-18 {
    width: 12px;
    height: 12px;
    top: 75%;
    left: 55%;
    animation-delay: 8s;
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
}

.circle-19 {
    width: 8px;
    height: 8px;
    top: 30%;
    left: 35%;
    animation-delay: 11s;
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
}

.circle-20 {
    width: 14px;
    height: 14px;
    top: 70%;
    left: 35%;
    animation-delay: 14s;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(10px, -15px) scale(1.05);
    }
    50% {
        transform: translate(15px, 10px) scale(0.95);
    }
    75% {
        transform: translate(-10px, 15px) scale(1.02);
    }
}

/* Additional float animations with different movement patterns */
@keyframes floatAnimation2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(-15px, -10px) scale(1.08);
    }
    66% {
        transform: translate(15px, 15px) scale(0.92);
    }
}

@keyframes floatAnimation3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    20% {
        transform: translate(15px, 0) scale(1.1);
    }
    40% {
        transform: translate(10px, 15px) scale(0.9);
    }
    60% {
        transform: translate(-10px, 10px) scale(1.05);
    }
    80% {
        transform: translate(-15px, -10px) scale(0.95);
    }
}

/* Apply different animations to specific circles */
.circle-3, .circle-10, .circle-17 {
    animation-name: floatAnimation2;
    animation-duration: 18s;
}

.circle-5, .circle-8, .circle-12, .circle-15, .circle-20 {
    animation-name: floatAnimation3;
    animation-duration: 20s;
}

/* Different sized stars */
.star-1 {
    width: 3px;
    height: 3px;
    top: 15%;
    left: 10%;
}

.star-2 {
    width: 2px;
    height: 2px;
    top: 25%;
    left: 25%;
}

.star-3 {
    width: 4px;
    height: 4px;
    top: 10%;
    left: 40%;
}

.star-4 {
    width: 2px;
    height: 2px;
    top: 20%;
    left: 60%;
}

.star-5 {
    width: 3px;
    height: 3px;
    top: 15%;
    left: 75%;
}

.star-6 {
    width: 2px;
    height: 2px;
    top: 30%;
    left: 85%;
}

.star-7 {
    width: 3px;
    height: 3px;
    top: 40%;
    left: 15%;
}

.star-8 {
    width: 2px;
    height: 2px;
    top: 50%;
    left: 30%;
}

.star-9 {
    width: 4px;
    height: 4px;
    top: 60%;
    left: 50%;
}

.star-10 {
    width: 2px;
    height: 2px;
    top: 70%;
    left: 70%;
}

.star-11 {
    width: 3px;
    height: 3px;
    top: 80%;
    left: 20%;
}

.star-12 {
    width: 2px;
    height: 2px;
    top: 85%;
    left: 60%;
}

/* Process Flow Styles (Matching Image) */
.process-flow-container {
    position: relative;
    width: 100%;
    padding: 1rem 0 0.5rem; /* Further reduced padding */
    margin-bottom: 0; /* Removed margin to bring bubbles closer to cards */
}

.process-flow-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    max-width: 1200px; /* Increased to match the card grid width */
    margin: 0 auto;
    padding: 0 1rem; /* Add padding to align with cards */
}

.process-flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
    width: 60px; /* Reduced width to match the smaller bubble size */
}

/* Vertical connector styles */
.vertical-connector {
    position: absolute;
    top: 50px; /* Adjusted to match smaller bubble size */
    width: 3px;
    height: 25px; /* Further reduced height for better alignment */
    background: white;
    z-index: 5;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
    /* Removed animation for static appearance */
}

/* Arrow at the end of the connector */
.connector-arrow {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid white;
    filter: drop-shadow(0 2px 2px rgba(255, 255, 255, 0.5));
    /* Removed animation for static appearance */
}

/* Horizontal arrow styles for between cards */
.horizontal-arrow {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 18px solid white;
    filter: drop-shadow(0 3px 3px rgba(255, 255, 255, 0.5));
    z-index: 20;
    animation: arrowPulse 2s infinite ease-in-out;
}

/* Animation for the connector pulse effect */
@keyframes connectorPulse {
    0%, 100% {
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
        opacity: 0.9;
    }
    50% {
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
        opacity: 1;
    }
}

/* Animation for the arrow bounce effect */
@keyframes arrowBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(5px);
    }
}

/* Register Online Animation - Computer screen typing effect */
@keyframes registerTyping {
    0% { stroke-dasharray: 0 100; }
    70% { stroke-dasharray: 100 0; }
    100% { stroke-dasharray: 100 0; }
}

@keyframes screenFlash {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; box-shadow: 0 0 15px rgba(255, 255, 255, 0.8) inset; }
}

/* Complete Profile Animation - User profile building */
@keyframes profileCircleFill {
    0% { stroke-dasharray: 0 100; }
    100% { stroke-dasharray: 100 0; }
}

@keyframes profileLinesDraw {
    0% { stroke-dashoffset: 100; }
    100% { stroke-dashoffset: 0; }
}

/* Apply for Scholarships Animation - Document check */
@keyframes checkmarkDraw {
    0% { stroke-dasharray: 0 100; stroke-dashoffset: 100; }
    70% { stroke-dasharray: 100 0; stroke-dashoffset: 0; }
    100% { stroke-dasharray: 100 0; stroke-dashoffset: 0; }
}

@keyframes documentPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Submit Exam Animation - Email sending */
@keyframes emailSend {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(-10px); opacity: 0.7; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes envelopeFlap {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.8); }
}

.process-step-bubble {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #2196f3; /* Lighter blue color matching reference image */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 15px rgba(33, 150, 243, 0.6);
    z-index: 10;
    animation: bubblePulse 3s infinite alternate;
}

.process-step-number {
    font-size: 1.75rem;
    font-weight: bold;
    color: white;
}

/* Dotted Line Connector Styles */
.dotted-connector {
    flex-grow: 1;
    height: 70px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 5;
    padding: 0 5px;
    min-width: 120px; /* Reduced width for shorter dotted lines */
    max-width: 140px; /* Added max-width to ensure consistent spacing */
}

.dotted-line {
    width: 100%;
    height: 2px;
    background: transparent;
    position: relative;
    border-top: 3px dotted white; /* Reduced size of dots */
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6); /* Enhanced shadow for better visibility */
}

/* Process Cards Styles (Matching Image) */
.process-card-container {
    position: relative;
    opacity: 1;
    animation: cardAppear 0.5s forwards ease-out;
    display: flex;
    justify-content: center; /* Center the card horizontally */
}

.process-card-container[data-step="1"] { animation-delay: 0.1s; }
.process-card-container[data-step="2"] { animation-delay: 0.2s; }
.process-card-container[data-step="3"] { animation-delay: 0.3s; }
.process-card-container[data-step="4"] { animation-delay: 0.4s; }
.process-card-container[data-step="5"] { animation-delay: 0.5s; }
.process-card-container[data-step="6"] { animation-delay: 0.6s; }

/* Removed animation delays for vertical connectors and connector arrows since they are now static */

.process-card {
    height: 100%;
    min-height: 220px; /* Reduced height */
    position: relative;
    transition: all 0.3s ease;
    background-color: #0d47a1; /* Darker blue matching image */
    width: 100%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 4px 8px rgba(0, 0, 0, 0.1);
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3), 0 6px 12px rgba(0, 0, 0, 0.2);
}

.icon-container {
    position: relative;
    width: 70px; /* Reduced width */
    height: 70px; /* Reduced height */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
}

/* Animation background */
.animation-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: -1;
}

/* Register Online Animation Styles */
.register-animation .animation-bg {
    animation: screenFlash 3s infinite;
}

.register-animation .typing-line:nth-child(4) {
    animation: registerTyping 3s infinite;
    animation-delay: 0.3s;
}

.register-animation .typing-line:nth-child(5) {
    animation: registerTyping 3s infinite;
    animation-delay: 1.5s;
}

.register-animation .screen-element {
    animation: documentPulse 4s infinite;
}

/* Complete Profile Animation Styles */
.profile-animation .profile-circle {
    animation: profileCircleFill 3s infinite;
}

.profile-animation .profile-line {
    animation: profileLinesDraw 3s infinite;
}

.profile-animation .profile-line:nth-child(3) {
    animation-delay: 0.5s;
}

.profile-animation .profile-detail {
    animation: fadeInOut 3s infinite;
}

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

/* Scholarship Application Animation Styles */
.scholarship-animation .document-rect {
    animation: documentPulse 4s infinite;
}

.scholarship-animation .checkmark {
    animation: checkmarkDraw 3s infinite;
}

.scholarship-animation .document-line {
    animation: fadeInOut 3s infinite;
}

.scholarship-animation .document-line:nth-child(4) {
    animation-delay: 0.3s;
}

.scholarship-animation .document-line:nth-child(5) {
    animation-delay: 0.6s;
}

.scholarship-animation .document-line:nth-child(6) {
    animation-delay: 0.9s;
}

/* Exam Submission Animation Styles */
.exam-animation .envelope {
    animation: emailSend 4s infinite;
}

.exam-animation .envelope-flap {
    animation: envelopeFlap 4s infinite;
}

.exam-animation .envelope-content {
    animation: fadeInOut 4s infinite;
}

/* Right arrow styling */
.process-card-container svg.w-8 {
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
}

/* Mobile Process Steps */
.mobile-process-steps {
    padding: 1rem 0;
}

.mobile-step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.mobile-step {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.mobile-step.active {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes cardAppear {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Verification Animation Styles */
.verification-animation .animation-bg {
    animation: iconBackgroundPulse 3s infinite;
}

.verification-animation .verification-circle {
    animation: profileCircleFill 3s infinite;
    stroke-dasharray: 100;
}

.verification-animation .verification-checkmark {
    animation: checkmarkDraw 3s infinite;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}

/* Bank Account Animation Styles */
.disbursement-animation .animation-bg {
    animation: iconBackgroundPulse 3s infinite;
}

.disbursement-animation .card-front {
    animation: cardSlide 4s infinite;
}

.disbursement-animation .card-back {
    animation: cardSlide 4s infinite;
    animation-delay: 0.5s;
}

.disbursement-animation .card-line {
    animation: fadeInOut 3s infinite;
}

.disbursement-animation .card-line:nth-child(4) {
    animation-delay: 0.3s;
}

@keyframes iconBackgroundPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

@keyframes cardSlide {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    25% {
        transform: translateX(-3px);
        opacity: 0.8;
    }
    50% {
        transform: translateX(3px);
        opacity: 1;
    }
    75% {
        transform: translateX(0);
        opacity: 0.9;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes cardParticleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    25% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-10px) translateX(-15px);
        opacity: 0.5;
    }
}

@keyframes arrowPulse {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

@keyframes bubblePulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(33, 150, 243, 0.6);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 25px rgba(33, 150, 243, 0.8);
        transform: scale(1.05);
    }
}

/* Comprehensive Responsive Design */

/* Large Desktop (1400px and above) */
@media (min-width: 1400px) {
    .process-flow-steps {
        max-width: 1400px;
        padding: 0 2rem;
    }

    .process-card {
        min-height: 240px;
    }

    .icon-container {
        width: 80px;
        height: 80px;
    }

    .process-card .w-14 {
        width: 4rem;
        height: 4rem;
    }
}

/* Standard Desktop (1200px - 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
    .process-flow-steps {
        max-width: 1300px;
        padding: 0 1.5rem;
    }

    .process-card {
        min-height: 230px;
    }

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

/* Large Laptop (1024px - 1199px) */
@media (max-width: 1199px) and (min-width: 1024px) {
    .process-flow-steps {
        max-width: 1100px;
        padding: 0 1rem;
    }

    .process-step-bubble {
        width: 45px;
        height: 45px;
    }

    .process-step-number {
        font-size: 1.5rem;
    }

    .process-card {
        min-height: 210px;
        max-width: 180px;
    }

    .process-card h3 {
        font-size: 1rem;
        line-height: 1.2;
    }

    .process-card p {
        font-size: 0.875rem;
        line-height: 1.3;
    }

    .icon-container {
        width: 65px;
        height: 65px;
    }

    .process-card .w-14 {
        width: 3rem;
        height: 3rem;
    }

    .dotted-connector {
        min-width: 100px;
        max-width: 120px;
    }

    .vertical-connector {
        top: 45px;
        height: 22px;
    }
}

/* Standard Laptop/Large Tablet (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    /* Section title adjustments */
    .text-4xl.md\\:text-5xl {
        font-size: 2.5rem !important;
    }

    .text-xl {
        font-size: 1.125rem;
    }

    /* Grid layout changes for tablets */
    .grid.grid-cols-1.md\\:grid-cols-4.lg\\:grid-cols-7 {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem;
        max-width: 900px;
        margin: 0 auto;
    }

    /* Show desktop process flow on tablets but adjust size */
    .hidden.md\\:flex {
        display: flex !important;
    }

    /* Adjust process flow for tablets */
    .process-flow-steps {
        max-width: 900px;
        margin: 0 auto;
        gap: 0.5rem;
    }

    .process-step-bubble {
        width: 35px;
        height: 35px;
    }

    .process-step-number {
        font-size: 1.2rem;
    }

    .dotted-connector {
        min-width: 60px;
        max-width: 80px;
    }

    .vertical-connector {
        height: 18px;
        top: 35px;
    }

    .process-card {
        min-height: 200px;
        max-width: 200px;
        margin: 0 auto;
    }

    .process-card h3 {
        font-size: 0.95rem;
        line-height: 1.2;
        padding: 0.5rem;
    }

    .process-card p {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .icon-container {
        width: 60px;
        height: 60px;
    }

    .process-card .w-14 {
        width: 2.75rem;
        height: 2.75rem;
    }

    /* Horizontal arrows adjustments */
    .horizontal-arrow {
        right: -15px;
        border-left: 15px solid white;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
    }

    /* Hide mobile step indicator on tablets since we show desktop flow */
    .md\\:hidden {
        display: none !important;
    }
}

/* Standard Tablet (640px - 767px) */
@media (max-width: 767px) and (min-width: 640px) {
    /* Section padding adjustments */
    .py-16 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    /* Title adjustments */
    .text-4xl.md\\:text-5xl {
        font-size: 2rem !important;
        line-height: 1.2;
    }

    .text-xl {
        font-size: 1rem;
        line-height: 1.4;
    }

    /* Grid layout for tablets */
    .grid.grid-cols-1.md\\:grid-cols-4.lg\\:grid-cols-7 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
        max-width: 600px;
        margin: 0 auto;
    }

    .process-card-container {
        margin-bottom: 1.5rem;
    }

    .process-card {
        min-height: 190px;
        max-width: 220px;
        margin: 0 auto;
    }

    .process-card h3 {
        font-size: 0.9rem;
        line-height: 1.2;
        padding: 0.75rem 0.5rem 0.5rem;
    }

    .process-card p {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .icon-container {
        width: 55px;
        height: 55px;
    }

    .process-card .w-14 {
        width: 2.5rem;
        height: 2.5rem;
    }

    /* Hide horizontal arrows on tablets */
    .horizontal-arrow {
        display: none !important;
    }
}

/* Large Mobile (480px - 639px) */
@media (max-width: 639px) and (min-width: 480px) {
    /* Section padding adjustments */
    .py-16 {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    /* Container padding */
    .w-full.px-4 {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Title adjustments */
    .text-4xl.md\\:text-5xl {
        font-size: 1.75rem !important;
        line-height: 1.1;
    }

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

    /* Single column layout for mobile */
    .grid.grid-cols-1.md\\:grid-cols-4.lg\\:grid-cols-7 {
        grid-template-columns: 1fr !important;
        gap: 1.25rem;
        max-width: 280px;
        margin: 0 auto;
    }

    .process-card-container {
        margin-bottom: 1.25rem;
    }

    .process-card {
        min-height: 180px;
        max-width: 250px;
        margin: 0 auto;
    }

    .process-card h3 {
        font-size: 0.85rem;
        line-height: 1.2;
        padding: 0.625rem 0.5rem 0.375rem;
    }

    .process-card p {
        font-size: 0.7rem;
        line-height: 1.25;
        padding: 0 0.5rem 0.625rem;
    }

    .icon-container {
        width: 50px;
        height: 50px;
        margin-bottom: 0.5rem;
    }

    .process-card .w-14 {
        width: 2.25rem;
        height: 2.25rem;
    }
}

/* Standard Mobile (360px - 479px) */
@media (max-width: 479px) and (min-width: 360px) {
    /* Section padding adjustments */
    .py-16 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    /* Container padding */
    .w-full.px-4 {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    /* Title adjustments */
    .text-4xl.md\\:text-5xl {
        font-size: 1.5rem !important;
        line-height: 1.1;
    }

    .text-xl {
        font-size: 0.875rem;
        line-height: 1.3;
    }

    /* Single column layout for small mobile */
    .grid.grid-cols-1.md\\:grid-cols-4.lg\\:grid-cols-7 {
        grid-template-columns: 1fr !important;
        gap: 1rem;
        max-width: 260px;
        margin: 0 auto;
    }

    .process-card-container {
        margin-bottom: 1rem;
    }

    .process-card {
        min-height: 170px;
        max-width: 230px;
        margin: 0 auto;
    }

    .process-card h3 {
        font-size: 0.8rem;
        line-height: 1.1;
        padding: 0.5rem 0.375rem 0.25rem;
    }

    .process-card p {
        font-size: 0.65rem;
        line-height: 1.2;
        padding: 0 0.375rem 0.5rem;
    }

    .icon-container {
        width: 45px;
        height: 45px;
        margin-bottom: 0.375rem;
    }

    .process-card .w-14 {
        width: 2rem;
        height: 2rem;
    }
}

/* Extra Small Mobile (below 360px) */
@media (max-width: 359px) {
    /* Section padding adjustments */
    .py-16 {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    /* Container padding */
    .w-full.px-4 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    /* Title adjustments */
    .text-4xl.md\\:text-5xl {
        font-size: 1.25rem !important;
        line-height: 1.1;
    }

    .text-xl {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    /* Single column layout for extra small mobile */
    .grid.grid-cols-1.md\\:grid-cols-4.lg\\:grid-cols-7 {
        grid-template-columns: 1fr !important;
        gap: 0.875rem;
        max-width: 240px;
        margin: 0 auto;
    }

    .process-card-container {
        margin-bottom: 0.875rem;
    }

    .process-card {
        min-height: 160px;
        max-width: 210px;
        margin: 0 auto;
    }

    .process-card h3 {
        font-size: 0.75rem;
        line-height: 1.1;
        padding: 0.375rem 0.25rem 0.25rem;
    }

    .process-card p {
        font-size: 0.6rem;
        line-height: 1.2;
        padding: 0 0.25rem 0.375rem;
    }

    .icon-container {
        width: 40px;
        height: 40px;
        margin-bottom: 0.25rem;
    }

    .process-card .w-14 {
        width: 1.75rem;
        height: 1.75rem;
    }
}

/* Flow Background Particles */
.flow-background-particle {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
    animation: floatParticle 15s infinite ease-in-out;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.2;
    }
    25% {
        transform: translateY(-30px) translateX(20px);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-15px) translateX(40px);
        opacity: 0.5;
    }
    75% {
        transform: translateY(-40px) translateX(-20px);
        opacity: 0.3;
    }
}

