/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #34495e;
}

/* Header Section */
header {
    background-color: #34495e;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    color: white;
}

header .logo {
    font-size: 22px;
    font-weight: bold;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #f1c40f;
}

/* Responsive Header */
@media (max-width: 768px) {
    header nav ul {
        gap: 10px;
    }

    header .logo {
        font-size: 20px;
    }

    header nav ul li a {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px;
    }

    header .logo {
        font-size: 18px;
    }

    header nav ul {
        gap: 8px;
    }

    header nav ul li a {
        font-size: 13px;
    }
}

/* Course Section */
section#courses {
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
}

.course-category {
    margin-bottom: 30px;
}

.course {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.course:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.course h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.course p {
    margin: 0 0 15px;
    font-size: 14px;
}

.btn {
    background-color: #2980b9;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.btn:hover {
    background-color: #3498db;
    transform: scale(1.05);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
    box-sizing: border-box;
}

.modal-content {
    position: relative;
    background-color: white;
    margin: auto;
    padding: 20px;
    max-width: 600px;
    width: 90%;
    border-radius: 12px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.25);
    animation: fadeIn 0.3s ease-in-out;
}

.modal h2 {
    margin: 0 0 10px;
    font-size: 22px;
    color: #2980b9;
}

.modal-content ul {
    list-style: none;
    padding: 0;
}

.modal-content ul li {
    margin: 5px 0;
    font-size: 16px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 10px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.close-btn:hover {
    background-color: #c0392b;
}

/* Footer */
.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
    background: #333;
    color: white;
}
.footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
    background: transparent;
}
.footer p{
    background:transparent;
}
.icons .fa-brands{
    color: white;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
    background: transparent;
}
.icons{
    background: transparent;
}
.footer img{
    width: 90px;
}
.text{
    background: transparent;
    text-align: center;
    margin-left: 10px;
}
.fa-solid{
    background:transparent;
    padding-right:5px;
}
.row{
    background:transparent;
    padding: 2px;
}
.al{
    background:transparent;
}
.row p{
    font-size: 20px;
    color: #0039ff;
}
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

.pixel-name {
  font-family: 'Press Start 2P', cursive;
  font-size: 1.5em;
  color: #f39c12;
  text-shadow: 2px 2px #e74c3c;
  background: transparent;
}

/* Responsive Styles for Courses */
@media (max-width: 768px) {
    section#courses {
        padding: 15px;
    }

    .course {
        padding: 15px;
        text-align: center;
    }

    .course h3 {
        font-size: 18px;
    }

    .course p {
        font-size: 13px;
    }

    .btn {
        padding: 8px 15px;
        font-size: 14px;
    }

    .modal-content {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .course h3 {
        font-size: 16px;
    }

    .course p {
        font-size: 12px;
    }

    .btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .modal-content {
        padding: 15px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
