anchors/* Custom Styles for aesthetic polish and desired spacing */
:root {
    --primary-color: #1e40af; /* Indigo-700 */
    --secondary-color: #fbbf24; /* Amber-400 */
    --text-color: #374151;
}
body {
    font-family: 'Tiro Bangla', serif;
    color: var(--text-color);
    background-color: #f8f9fa;
    scroll-behavior: smooth; /* Enable smooth scrolling for anchors */
}
.hero-bg {
    background-image: url('img/ita.jpg');
    background-size: cover;
    background-position: center;
    position: relative; /* এটি সিউডো-এলিমেন্টকে পজিশন করতে সাহায্য করবে */
    z-index: 1; /* নিশ্চিত করুন যে এই সেকশনটি অন্য এলিমেন্টের উপরে আছে */
}
/* ওভারলে তৈরির জন্য নতুন কোড */
.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* এখানে আপনার পছন্দের ওভারলে কালার ও অপাসিটি দিন */
    background-color: rgba(0, 0, 0, 0.5); /* কালো ওভারলে, ৫০% অপাসিটি */
    z-index: -1; /* ওভারলে যাতে লেখার নিচে থাকে */
}

/* Initial state and transition for scroll animation (applies to cards and features) */
.course-card-shadow, .feature-card {
    opacity: 0; /* Initial opacity for scroll animation */
    transform: translateY(30px); /* Initial position for scroll animation (Fade In Up effect) */
    transition: opacity 1s ease-out, transform 1s ease-out; /* Smooth transition definition */
}

/* Visible state for scroll animation */
.course-card-shadow.visible, .feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Existing styles for course-card-shadow hover effect */
.course-card-shadow {
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1), 0 8px 15px -8px rgba(0, 0, 0, 0.08);
    border-radius: 1.5rem;
    border-top: 5px solid var(--secondary-color); /* Highlight color */
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s, opacity 1s ease-out, transform 1s ease-out; /* Ensured hover transition remains smooth */
}

.course-card-shadow:hover {
    transform: translateY(-12px); /* Increased lift */
    box-shadow: 0 30px 45px -5px rgba(0, 0, 0, 0.25), 0 15px 20px -5px rgba(0, 0, 0, 0.1);
}

.course-image-container img {
    transition: transform 0.5s ease;
}
.course-card-shadow:hover .course-image-container img {
    transform: scale(1.05);
}

/* Keyframe Animation for Hero Text (Initial Load Animation) */
@keyframes fadeInUpHero {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fadeInUp {
    animation: fadeInUpHero 1s ease-out both;
}
.animate-delay-500 { animation-delay: 0.5s; }
.animate-delay-1000 { animation-delay: 1s; }

/* Custom Button Styling */
.btn-primary {
    background-color: var(--primary-color);
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(30, 64, 175, 0.5);
}

/* Floating Contact Button */
.floating-contact {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 50;
}
.floating-contact a {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.floating-contact a:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

