body {
    font-family: 'Inter', sans-serif;
    background-color: #111827; /* Tailwind gray-900 */
    color: #FFFFFF; /* Tailwind gray-300 */
}

.text-gradient {
    background: linear-gradient(to right, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* For the typing cursor effect */
.typed-cursor {
    opacity: 1;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

/* For the floating image effect */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
	0% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-20px);
	}
	100% {
		transform: translateY(0px);
	}
}

/* University Section - Horizontal Scroll */
.scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem; /* 24px */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.scroll-container::-webkit-scrollbar {
    display: none;
}

.update-card {
    flex: 0 0 300px; /* Do not grow, do not shrink, base width of 300px */
    background-color: #1f2937; /* Tailwind gray-800 */
    border-radius: 0.5rem; /* 8px */
    overflow: hidden;
    transition: transform 0.3s ease;
}

.update-card:hover {
    transform: translateY(-5px);
}

.update-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* Project Images */
.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* YouTube Thumbnail Styles */
.youtube-thumbnail-link {
    display: block;
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: #000;
}

.youtube-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.youtube-thumbnail-link:hover .youtube-thumbnail {
    transform: scale(1.05);
}

.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.4);
    color: rgba(255, 255, 255, 0.8);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.youtube-thumbnail-link:hover .play-button-overlay {
    background-color: rgba(0, 0, 0, 0.6);
    color: #FFF;
}

/* Certification Logos */
.cert-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.cert-logo-sm {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

