<?php include_once('header1.php'); ?>
<!-- START SECTION TOP -->
	<section class="section-top">
		<div class="container">
			<div class="col-lg-10 offset-lg-1 text-center">
				<div class="section-top-title wow fadeInRight" data-wow-duration="1s" data-wow-delay="0.3s" data-wow-offset="0">
					<h1>All Course</h1>
					<ul>
						<li><a href="dashboard.php">Dashboard</a></li>
						<li> / My Courses</li>
					</ul>
				</div><!-- //.HERO-TEXT -->
			</div><!--- END COL -->
		</div><!--- END CONTAINER -->
	</section>	
	<!-- END SECTION TOP -->
<style>
body {
    background: #f4f4f4;
}

/* Header */
.course-title {
    font-weight: 700;
    color: #6a1b9a;
    animation: fadeDown 0.8s ease;
}

/* Card Design */
.chapter-card {
    background: linear-gradient(135deg, #d1c4e9, #ede7f6);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.4s ease;
    animation: fadeUp 0.6s ease;
    position: relative;
    overflow: hidden;
}

/* Hover Animation */
.chapter-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 10px 25px rgba(106, 27, 154, 0.4);
}

/* Shine Effect */
.chapter-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
    transition: 0.5s;
}

.chapter-card:hover::before {
    left: 100%;
}

/* Buttons */
.action-btn {
    background: #fff;
    border-radius: 30px;
    padding: 6px 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Button Hover */
.action-btn:hover {
    background: #6a1b9a;
    color: white;
    transform: scale(1.05);
}

/* Ripple Effect */
.action-btn::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.action-btn:active::after {
    width: 120px;
    height: 120px;
}

/* Icons */
.video-icon { color: #ff5722; font-size: 18px; }
.material-icon { color: #ffb300; font-size: 18px; }
.test-icon { color: #2196f3; font-size: 18px; }

/* Responsive */
@media (max-width: 576px) {
    .action-group {
        flex-direction: column;
        gap: 8px;
    }
}

/* Keyframes */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

</style>

<div class="container py-4">

    <!-- Header -->
    <h3 class="course-title">Physics</h3>
    <p>20 Chapters</p>

    <!-- Chapter Card -->
    <div class="chapter-card" style="animation-delay:0.1s;">
        <div class="d-flex justify-content-between">
            <h6>1. Air</h6>
            <span>1 Videos</span>
        </div>

        <div class="d-flex justify-content-between mt-3 action-group">

            <div class="action-btn">
                <i class="bi bi-play-circle-fill video-icon"></i> Videos
            </div>

            <div class="action-btn">
                <i class="bi bi-journal-bookmark-fill material-icon"></i> Material
            </div>

            <div class="action-btn">
                <i class="bi bi-pencil-square test-icon"></i> Test
            </div>

        </div>
    </div>

    <!-- Repeat Cards -->
    <div class="chapter-card" style="animation-delay:0.2s;">
        <div class="d-flex justify-content-between">
            <h6>2. Animal Life</h6>
            <span>1 Videos</span>
        </div>

        <div class="d-flex justify-content-between mt-3 action-group">
            <div class="action-btn">
                <i class="bi bi-play-circle-fill video-icon"></i> Videos
            </div>
            <div class="action-btn">
                <i class="bi bi-journal-bookmark-fill material-icon"></i> Material
            </div>
            <div class="action-btn">
                <i class="bi bi-pencil-square test-icon"></i> Test
            </div>
        </div>
    </div>

    <div class="chapter-card" style="animation-delay:0.3s;">
        <div class="d-flex justify-content-between">
            <h6>3. Earth and Sky</h6>
            <span>1 Videos</span>
        </div>

        <div class="d-flex justify-content-between mt-3 action-group">
            <div class="action-btn">
                <i class="bi bi-play-circle-fill video-icon"></i> Videos
            </div>
            <div class="action-btn">
                <i class="bi bi-journal-bookmark-fill material-icon"></i> Material
            </div>
            <div class="action-btn">
                <i class="bi bi-pencil-square test-icon"></i> Test
            </div>
        </div>
    </div>

    <div class="chapter-card">
        <div class="d-flex justify-content-between">
            <h6>4. Food and Health</h6>
            <span>1 Videos</span>
        </div>

        <div class="d-flex justify-content-between mt-3 action-group">
            <div class="action-btn">
                <i class="bi bi-play-circle-fill video-icon"></i> Videos
            </div>
            <div class="action-btn">
                <i class="bi bi-journal-bookmark-fill material-icon"></i> Material
            </div>
            <div class="action-btn">
                <i class="bi bi-pencil-square test-icon"></i> Test
            </div>
        </div>
    </div>

</div>

<?php include_once('footer.php'); ?>