/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Work Sans", sans-serif !important;
}

:root {
    --primary-color: #f4a261;
    --secondary-color: #e76f51;
    --bg-overlay: rgba(0, 0, 0, 0.7);
    --navbar-bg: rgba(0, 0, 0, 0.8);
}

html, body {
   min-height: 100vh;
    width: 100%;
    font-family: Arial, sans-serif;
    color: #fff;
text-align: center;
background-image: url("img/3.jpg");
background-repeat: no-repeat;
background-size: cover;
}

/* Hero Section */


/* Dark Overlay on Background */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}
/* Header */
nav{
    background-color:white ;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
}
nav li:first-child{
    margin-right: auto;
}

nav ul {
    list-style: none;
    display: flex;
    width:100%;
    justify-content: flex-end;
    align-items: center;
}

nav li {
    height: 80px;
}
nav a {
    color: var(--primary-color);
    text-decoration: none;
    padding: 0px 30px;
    height: 100%;
    display: flex;
    align-items: center;
}

nav a:hover {
    color: var(--secondary-color);
    border-bottom: 1px solid #e76f51;
}

/* Content Container */
.container {
 margin-top: 60px;
    background: var(--bg-overlay);
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
   position: absolute; 
    z-index: 1; 
    top: 50%;
    left: 50%; 
    transform: translate(-50%, -50%); 
  width:100% ;
  height:100vh;
  padding: 25px 0;
}
.container li a{
    text-decoration: none;
    color: #fff;
    font-size: 23px;
}
h1 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

h2 {
    color: var(--primary-color);
    margin-top: 10px;
}

p, ul {
    font-size: 18px;
    line-height: 1.6;
    text-align: left;
}

ul {
    list-style: none;
}
button{
border-radius: 5px;
padding: 6px 12px;
width: 80px;
border: none;
color: white;
font-size: 20px;
background-color: #f4a261;

}
button:hover{
    background-color: #e76f51;
}
form input ,textarea{
font-size: 18px;
border-radius: 5px;
border: none;
text-align: center;
padding: 10px;
}

/* Button Styles */
.btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 20px;
    transition: 0.3s;
    text-decoration: none;
}

.btn:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    top: 0;
    right:0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
   display:none;
    flex-direction: column;
    background:white;
    padding: 20px;
    transition: all 0.3s ease-in-out;
align-items: flex-start;
justify-content: flex-start;
backdrop-filter: blur(10px);
}
.sidebar li{
    width: 100%;
}
.sidebar a{
    width: 100%;
    color: var(--primary-color);
    padding: 5px;
    text-decoration: none;

}
.menu{
    display: none;
}
.sidebar a:hover {
    color: var(--secondary-color);
}
.course-list a{
    text-decoration: none;
    color: white;
    font-size: 23px;
    font-weight: 500;
}
@media (max-width:800px){
  .hideOnMobile{
    display: none;
  }
  .menu{
    display:block;
  }
}
@media (max-width:400px){
    .sidebar{
        width: 100%
    }
}