* {
    box-sizing: border-box;
}
body {
    margin:0;
    font-family:Arial, sans-serif;
    background-color:rgb(4, 4, 37);
}

header {
    background:rgb(4, 4, 37);
    color: white;
    text-align: center;
    padding: 30px;
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 1rem 2rem;
    z-index: 10; 
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

nav {
    background-color: rgb(4, 4, 37);
    backdrop-filter: blur(5px);
}

nav ul {
    list-style: none;
    text-align: center;
    margin: 0;
    padding: 0;
}

nav ul::after{
    content:"";
    display:block;
    clear:both;
}

nav ul li {
    float: left;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding:18px 20px;
    float: left;
    position: relative;
}

nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 10px;
    width: 0;
    height: 3px;
    background: limegreen;
    transition: 0.3s;
}

nav ul li a:hover::after {
    width:100%;
}

.hero {
    position: relative;
    width: 100%;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover; 
    border-radius: 12px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
}

.hero .btn {
    background-color: rgb(4, 4, 37); 
    color: white;
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.3s, background-color 0.3s;
    display: inline-block;
}

.hero .btn:hover {
    background-color: white;
    color: rgb(4, 4, 37);
    transform: scale(1.05);
    cursor: pointer;
}


.course-container {
    display:flex;
    justify-content:space-between;
    gap:20px;
    margin-top:30px;
    flex-wrap: wrap;
}

.course-container::after{
    content:"";
    display:block;
    clear:both;
}

.courses {
    width:90%;
    margin:60px auto;
    text-align:center;
    color:white;
}


.course-card {
    background:white;
    color:#222;
    padding:25px;
    border-radius:10px;
    float: left;
    flex:1;
    border:1px solid rgba(255,255,255,0.1);
    box-shadow:0 10px 25px rgba(0,0,0,0.2);
    transition:0.3s;
}

.course-card h3 {
    margin-bottom:10px;
}

.course-card:hover {
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,0.3);
}

.container {
    display: flex;
    width: 90%;
    margin: 40px auto;
    gap: 20px;
}

.sidebar {
    width: 25%;
    float: left;
    background-color: rgb(183, 130, 62);
    padding: 20px;
    min-height: 200px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0, 0.15);
    transition: 0.3s;
}
.content h2,
.sidebar h2 {
    margin-bottom: 10px;
    color: #222;
}
.content ul,
.sidebar ul {
    list-style: none;
    margin-top: 10px;
}

.sidebar li {
    padding: 5px 0;
    border-bottom:1px solid #ddd;
    transition:0.3s;
    cursor: pointer;
    line-height: 1.7;
    margin-top: 10px;
    color: #333;
}


.sidebar li:hover{
    color:limegreen;
    padding-left:5px;
}

.content {
    width: 75%;
    float: right;
    background-color: rgb(183, 130, 62);
    padding: 20px;
    min-height: 200px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0, 0.15);
    transition: 0.3s;
}

.content p {
    line-height: 1.7;
    margin-top: 10px;
    color: #333;
}

.content li {
    transition:0.3s;
    cursor: pointer;
    line-height: 1.7;
    margin-top: 10px;
    color: #333;
}

.sidebar:hover,
.content:hover{
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

footer {
    clear: both;
    background-color: #040425;
    color: #fff;
    padding: 2rem 1rem;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2rem;
    max-width:1100px;
    margin:auto;
    margin-bottom: 1rem;
}

.footer-content a {
    color: limegreen;
    text-decoration: none;
}

.footer-content form input,
.footer-content form textarea {
    width: 100%;
    max-width: 250px;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    border-radius: 5px;
    border: none;
}

.footer-content form button {
    padding: 0.5rem 1rem;
    background-color: limegreen;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.footer-content form button:hover {
    background-color: #32cd32;
}

.footer-bottom {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #aaa;
}