
body {
font-family: 'Hind Siliguri', sans-serif;
overflow-x: hidden;
}
/* Hero Section */
.hero {
background: #f8faff;
padding: 80px 0;
}
.hero h1 {
font-size: 38px;
font-weight: 700;
line-height: 1.4;
opacity: 0;
transform: translateY(40px);
animation: fadeSlide 1s ease forwards;
animation-delay: 0.2s;
}
.hero p {
opacity: 0;
transform: translateY(40px);
animation: fadeSlide 1s ease forwards;
animation-delay: 0.4s;
}
.hero img {
opacity: 0;
transform: translateY(40px);
animation: fadeSlide 1s ease forwards;
animation-delay: 0.6s;
}
@keyframes fadeSlide {
to {
opacity: 1;
transform: translateY(0);
}
}

/* Gradient Button with Glow */
.btn-gradient {
background: linear-gradient(to right, #007bff, #6f42c1);
color: #fff;
border: none;
position: relative;
overflow: hidden;
z-index: 1;
}
.btn-gradient:hover {
color: #fff;
}
.btn-gradient::after {
content: "";
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(255,255,255,0.4) 20%, transparent 70%);
transform: scale(0);
transition: transform 0.5s ease;
z-index: -1;
}
.btn-gradient:hover::after {
transform: scale(1);
}

/* Category Cards */
.category-card {
transition: all 0.3s ease;
}
.category-card:hover {
transform: translateY(-8px) scale(1.05);
box-shadow: 0px 10px 25px rgba(0,0,0,0.15);
}

/* Newsletter Background Animation */
.newsletter {
background: linear-gradient(-45deg, #0b2545, #1d3557, #457b9d, #0b2545);
background-size: 400% 400%;
color: white;
padding: 50px 20px;
border-radius: 20px;
margin-top: 40px;
margin-bottom: 40px;
animation: gradientBG 10s ease infinite;
}
@keyframes gradientBG {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.newsletter input {
border-radius: 30px 0 0 30px;
padding: 12px 15px;
border: none;
}
.newsletter button {
border-radius: 0 30px 30px 0;
padding: 12px 20px;
}

/* Footer */
.footer {
background: #f1f5f9;
padding: 50px 0;
}
.footer h5 {
font-weight: 700;
margin-bottom: 20px;
}
.footer ul {
list-style: none;
padding: 0;
}
.footer ul li {
margin-bottom: 10px;
}
.footer ul li a {
color: #000;
text-decoration: none;
}
.footer ul li a:hover {
color: #007bff;
}

/* Scroll Reveal */
.reveal { 
opacity: 0; 
transform: translateY(40px); 
transition: all 1s ease; 
}
.reveal.active { 
opacity: 1; 
transform: translateY(0); 
}
#scrollTopBtn {
position: fixed;
bottom: 40px;
right: 40px;
z-index: 99;
display: none;
border-radius: 50%;
width: 50px;
height: 50px;
font-size: 20px;
}

/* Custom Styles */
.btn-gradient {
    background: linear-gradient(135deg, #6f42c1, #007bff);
    color: white;
    border: none;
}

.newsletter {
    padding: 60px 0;
}

/* Slick Carousel Customization */
.slick-prev,
.slick-next {
    z-index: 1;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5) !important;
    border-radius: 50%;
}

.slick-prev {
    left: 15px;
}

.slick-next {
    right: 15px;
}

.slick-prev:before,
.slick-next:before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 20px;
}

.slick-prev:before {
    content: '\f053';
}

.slick-next:before {
    content: '\f054';
}

.slick-dots {
    bottom: -40px;
}

.slick-dots li button:before {
    font-size: 12px;
}

/* Card hover effect */
.card {
    transition: transform 0.3s ease;
}

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

/* Counter animation */
.counter {
    font-size: 2.5rem;
    font-weight: bold;
}

/* Slick slider item spacing */
.slick-slide {
    padding: 0 10px;
}

/* Ensure proper height for cards */
.teacher-slider .card,
.student-slider .card {
    height: 100%;
}

.custom-footer {
    background-color: #1d3557;
    color: #fff; /* Make text white */
}

.custom-footer a {
    color: #fff; /* Make links white */
}

.custom-footer a:hover {
    color: #ccc; /* Optional: light gray on hover */
}

.custom-footer h5 {
    color: #fff; /* Make headings white */
}

.custom-footer strong {
    color: #fff; /* Make strong text white */
}

.custom-footer i {
    color: #fff; /* Make social icons white */
}

.custom-footer .opacity8 {
    opacity: 0.8;
    color: #fff; /* Ensure this text is also white */
}
    .custom-footer ul li a {
    color: #fff; /* Make links white */
}