:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2c2c2c;
    --accent-color: #ffd700;
    --text-color: #ffffff;
}

body {
    background-color: var(--primary-color);
    color: var(--text-color);
}

/* Navbar styles */
.navbar {
    background-color: rgba(15, 11, 11, 0.212);
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.navbar-brand {
    color: var(--accent-color) !important;
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-toggler {
    background-color: #ffd700;
}

.nav-link {
    color: var(--text-color) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

/* Hero section styles */
.carousel {
    position: relative;
    height: 100vh;
}

.carousel-item {
    height: 100vh;
}

.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
    max-width: 800px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-color);
}

/* Course card styles */
.courses {
    padding: 5rem 0;
    background-color: var(--primary-color);
}

.course-card {
    background-color: var(--secondary-color);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    margin-bottom: 2rem;
}

.course-info h3{
    font-size: 1.2rem !important;
}

.course-img-container {
    position: relative;
    overflow: hidden;
}

.course-img-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-card:hover .course-overlay {
    opacity: 1;
}

.start-course-btn {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 3px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.start-course-btn:hover {
    transform: scale(1.1);
}

.course-info {
    padding: 1rem;
}

/* Footer styles */
.footer {
    background-color: var(--secondary-color);
    padding: 3rem 0 1rem;
}

.list-unstyled .email-link{
    color: white;
}

.list-unstyled .email-link:hover{
    color: #ffd700;
}

.social-links a {
    color: var(--text-color);
    margin-right: 1rem;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
}

.back-to-top:hover {
    color: var(--primary-color);
}