@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #F0F8FF; /* Light cream background */
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: #1a202c; /* Darker text for headings */
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes pulse {
	0% { transform: scale(1); }
	50% { transform: scale(1.1); }
	100% { transform: scale(1); }
}
@keyframes rotate-light {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}
@keyframes gradient-shift {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}
@keyframes float {
	0% { transform: translateY(0px); }
	50% { transform: translateY(-10px); }
	100% { transform: translateY(0px); }
}
@keyframes slideInLeft {
	from { transform: translateX(-100%); opacity: 0; }
	to { transform: translateX(0); opacity: 1; }
}
@keyframes scaleIn {
	from { transform: scale(0.9); opacity: 0; }
	to { transform: scale(1); opacity: 1; }
}
@keyframes pulse-light {
	0% { transform: scale(0.95) rotate(0deg); opacity: 0.7; }
	50% { transform: scale(1.05) rotate(5deg); opacity: 1; }
	100% { transform: scale(0.95) rotate(0deg); opacity: 0.7; }
}




.btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
    background-color: #5a67d8; /* Sky blue */
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(90, 103, 216, 0.3);
}

.btn-primary:hover {
    background-color: #434190; /* Darker sky blue */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(90, 103, 216, 0.4);
}

.btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
    background-color: transparent;
    color: #5a67d8;
    border: 2px solid #5a67d8;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #e0e7ff;
    color: #434190;
    transform: translateY(-2px);
}

.nav-link-active {
    color: #5a67d8;
    font-weight: 600;
    position: relative;
}

.nav-link-active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #5a67d8;
    animation: fadeInBorder 0.3s forwards;
}

@keyframes fadeInBorder {
    from { width: 0; opacity: 0; }
    to { width: 100%; opacity: 1; }
}

.card-light {
    background-color: white;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-light:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    background-color: #e0e7ff; /* Lighter blue */
    color: #5a67d8; /* Sky blue */
    padding: 1rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    background-color: #c7d2fe; /* Even lighter blue */
    transform: scale(1.05);
}

.hero-bg {
    background: linear-gradient(135deg, #f0f4f8 0%, #e0e7ff 100%);
	color: white;
	padding: 8rem 0;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.hero-bg::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle at 10% 20%, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
	animation: rotate-light 20s linear infinite;
}

.input-field {
    border: 1px solid #cbd5e0;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-field:focus {
    border-color: #5a67d8;
    box-shadow: 0 0 0 3px rgba(90, 103, 216, 0.2);
    outline: none;
}

/* Subtle animations */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
}


.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom dropdown for navigation */
.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    position: absolute;
    background-color: white;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 0.75rem;
    min-width: 160px;
    z-index: 100;
    padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f0f4f8;
    color: #5a67d8;
}

/* Hero slider custom styles */
.hero-slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 1200px;
    margin: 0 auto;
}

.hero-slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-slider-item.active {
    opacity: 1;
}

.hero-overlay {
    background: linear-gradient(to right, rgba(255,255,255,0.9) 30%, rgba(255,255,255,0) 80%);
    padding: 4rem;
    width: 60%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (max-width: 768px) {
    .hero-overlay {
        width: 100%;
        background: linear-gradient(to bottom, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0) 90%);
        padding: 2rem;
    }
}
.hero-overlay h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a202c;
}
.hero-overlay p {
    font-size: 1.15rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.slider-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255,255,255,0.7);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 50;
}
.slider-nav-button:hover {
    background-color: rgba(255,255,255,0.9);
}
.slider-nav-button.prev { left: 1.5rem; }
.slider-nav-button.next { right: 1.5rem; }

.image-placeholder {
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    border-radius: 0.75rem;
    font-weight: 500;
}

.footer-link-group h3 {
    margin-bottom: 1rem;
    font-weight: 600;
    color: #1a202c;
}

.footer-link-group a {
    color: #4a5568;
    transition: color 0.3s ease;
    padding: 0.25rem 0;
    display: block;
}

.footer-link-group a:hover {
    color: #5a67d8;
    transform: translateX(5px);
}

.social-icon-btn {
    background-color: #e0e7ff;
    color: #5a67d8;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icon-btn:hover {
    background-color: #5a67d8;
    color: white;
    transform: translateY(-3px) scale(1.05);
}

/* Icon Pulse on Hover */
.icon-pulse:hover {
	animation: pulse 1s infinite;
}

/* Subtle Button Hover Scale */
.btn-scale-hover:hover {
	transform: scale(1.02);
}


/* Text Focus Underline */
.text-focus-underline {
	position: relative;
	display: inline-block;
}
.text-focus-underline::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	bottom: 0;
	left: 0;
	background-color: #28a745;
	transition: width 0.3s ease;
}
.text-focus-underline:hover::after {
	width: 100%;
}

.text-white{
	color:#fff;
}
.text-gray-600{
	color: #4B5563; 
}
.text-gray-800{
	color: #1F2937; 
}

.text-blue-400{
	color: #60A5FA; 
}
.text-blue-600{
	color: #2563EB; 
}

.font-semibold{
	font-weight: 600; 
}
.text-primary-blue{
	color: #01348d 
}


.animate-fadeIn { animation: fadeIn 0.8s ease-out forwards; }
.animate-slideInUp { animation: slideInUp 0.8s ease-out forwards; }
.animate-pulse-subtle { animation: pulse 2s infinite ease-in-out; }

.header-shadow {
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.course-category-header {
	background-color: #5f6d94;
	color: white;
	padding: 0.75rem 1.5rem;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
	font-weight: 600;
}

.course-item {
	list-style: none;
	position: relative;
	padding-left: 1.5rem;
	margin-bottom: 0.75rem;
	color: #4b5563;
}

.course-item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.5em;
	width: 0.5rem;
	height: 0.5rem;
	background-color: #01348d;
	border-radius: 50%;
}

.animated-gradient {
	background: linear-gradient(45deg, #FFD700, #FFA500, #FF6347, #FF1493, #8A2BE2);
	background-size: 400% 400%;
	animation: gradient-shift 10s ease infinite;
}

.floating-element {
	animation: float 3s ease-in-out infinite;
}



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

.scale-in {
	animation: scaleIn 0.5s ease-out forwards;
}

