/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Sections */
.section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #004080;
}

.section p, .section ul {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    padding: 0 15px;
}

/* Skills Section */
.skills-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    padding: 0;
}

.skills-list li {
    background: linear-gradient(135deg, #004080, #00ccff);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.skills-list li:hover {
    transform: scale(1.1);
}

/* Services Section */
section#services ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

section#services ul li {
    padding: 10px;
    background: #e6f7ff;
    margin: 10px 0;
    border: 1px solid #004080;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s;
}

section#services ul li:hover {
    background: #cceeff;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px; 
}

.contact-form input,
.contact-form textarea,
.contact-form button, 
.contact-form select {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus{
    border-color: #004080;
    outline: none;
}

.contact-form button {
    background: #004080;
    color: #fff;
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #003366;
}

/* Footer */
footer {
    text-align: center;
    background: #333;
    color: #fff;
    padding: 15px;
    margin-top: 20px;
}

footer p {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Media Queries */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 5px 0;
    }

    .skills-list {
        flex-direction: column;
        gap: 10px;
    }
}
/* Contact info Section */
#contact-info {
    padding: 50px 20px;
    background: #f8f8f8;
    text-align: center;
    color: #333;
}

#contact-info h2 {
    font-size: 2rem;
    color: #004080;
    margin-bottom: 20px;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.contact-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item h3 {
    font-size: 1.5rem;
    color: rgba(200,100,100,0.8);
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    margin: 5px 0;
}

.contact-item a {
    color: #00ccff;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #333;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* Adjust layout for small screens */
@media (max-width: 768px) {
    .contact-item {
        width: 90%;
    }
}


/* Navigation Bar */
nav {
    position: relative;
    background: #333;
    padding: 10px 0;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

#menu-toggle {
    background: none;
    color: #fff;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

#menu-toggle:hover {
    color: #00ccff;
}

#nav-links {
    list-style: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: none; /* Initially hidden */
    flex-direction: column;
    gap: 15px;
    z-index: 1000; /* Ensures menu stays on top */
}

#nav-links li {
    text-align: center;
}

#nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: color 0.3s;
}

#nav-links a:hover {
    color: #00ccff;
}

/* Show menu when class is active */
#nav-links.active {
    display: flex;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    #menu-toggle {
        font-size: 1.2rem;
    }

    #nav-links {
        right: 10px;
        width: 90%;
    }
}

table,th,td{
      
      border: none;
      border-collapse: collapse;
      font-size:12px;
  }
  
   table{
      margin:10px;
      border-top: 1px solid red; 
  /*   border-bottom: 1px solid red; */
     padding:0 5px 2px 2px;
       
   }
  th{
     text-align: center;
      padding: 5px;
     background:rgb(250,150,200);
     color:white;
     
  }
  td{
      padding:5px;
 
  }
  
  tr:nth-child(even){
      background-color: #fff;
  }
  tr:nth-child(odd){
      background-color: #ddd;
  }

  .courses-table{
      display:block;
      overflow:auto;
  }
  


.head{
	position:relative;
	top:1px;
  display:block;
  width:100%;
  height:90px;
  background:blue;
 }
 .head a {
	position:relative; left:2px; top:15px;
	display:block;
	width : 30px;
    height:35px;
 }
 .head p {
    position:absolute; top:20px; left:30%;
	display:inline-block;
	color:rgb(0,255,0);
	text-align:center;
	}
  .login-icon{
    position: absolute; top: 20px; right: 3%;
}

.login-icon img{
    position: absolute; right: 40%;
height: 20px; width: 20px;
border-radius: 50%;
}
.login-icon p{
  position: relative; top:5px;
  font-size: 12px;  
  text-align: center;
  color:rgb(0,255,0); 
}
.login-icon #logout{
    color: red;
}
 .copyright p{
   text-align: center;
  }
   .copyright a {
      color: green;
  }
.form_cont {
  position: relative; top:80px;
   display:block;
   border:2px solid white;
   width:300px;
   border-radius: 10px;
   }
   .form_cont p{
       text-align: center;
       color:green;
   }
   .form_cont input{
     width:250px;  
      padding: 5px;
   }
   .form_cont label{
       color:red;
      text-align:justify;
   }
   .form_cont a{
       text-decoration: none;
       display: block;
       background: green;
       border-radius:20px;
       color:white;
       width:150px; height:30px;
       padding: 5px;
   }
    .form_cont #submitA {
      width:100px; height: 30px;
       display: block;
       background: green;
       border-radius:20px;
       color:white;
       font-size: 20px;
	   cursor:pointer;
	   position: relative; left:70px;
	   top:10px;
	   margin-bottom: 15px;
   }
   .form_cont #cancelA {
      width:100px; height: 30px;
       display: block;
       background: red;
       border-radius:20px;
       color:white;
       font-size: 20px;
	   cursor:pointer;
	   position: relative; right:80px;
	   bottom: 35px;
	   margin-bottom: 15px;
   }
   .form_cont #submit {
      width:120px; height: 30px;
       display: block;
       background: green;
       border-radius:20px;
       color:white;
       font-size: 20px;
	   cursor:pointer;
	   margin-bottom: 15px;
   }
   .form_cont  select{
      width:250px; height:35px;
  }
 .form_cont textarea{
      width:250px; height:300px;
      padding: 10px;
  }
  .notify{
        position: relative; top:20px;
        display: block;
        text-align: justify;
        background:grey;
        width:300px;
        padding:5px ;
        margin-bottom: 10px;
    }
    .warning{
      position: relative; top:40px;
      color:green;
      padding: 10px;
      text-align: justify;
      background: white;
      margin:20px;
  }
    .warning i{
   font-weight: bold;
   color:rgb(200,150,250);
        
    }
  .errors{
      display:block;
     position:relative; top:25px;
     text-align: center;
     color:red;
  }
  .success{
     display:block;
     position:relative; top:25px;
     text-align: center;
     color:green;

  }
  .new_success{
 top:10px;
 text-align: justify; 
 padding:10px;
 font-size:12px;
 border: 1px solid #fff;
 border-radius:10px;
 background:#007BFF;
 color:white;
 display:block;
 left:10%;
 width:80%;

}
   .showpsw {
    position: absolute;
        left:15px;
   }
   /* delete button css */
    #del{
    margin: 5px;
    position: absolute;
      padding: 5px;
      font-size: 14px;
      color:white;
      background: red;
      text-decoration: none;
      
  }
    /* Edit button css */
    #edit{
      margin: 5px;
      position: absolute;
      padding: 5px;
      font-size: 14px;
      color:white;
      background: green;
      text-decoration: none;
      
  }
  /* download button css */
    #download{
      margin: 5px;
      position: absolute;
      padding: 5px;
      font-size: 14px;
      color:white;
      background: orange;
      text-decoration: none;
      
  }
 /* paragraph css */
 #par{
      position: relative;
      padding: 10px;
  }
   .crt {
      position: relative; top:50px;
   display:block;
   }
   .crt p {
       text-align: justify;
       padding: 10px;
   }
   .forget {
	   display:block;
	   background:white;
	   position:relative; top:18px;
	   width:294px;height:59px;
   }
  .forget #cancel {
   text-decoration:none;
   background:rgb(230,0,0);
   color:white;
   width:70px;height:35px;
   padding:5px;
   }
  .forget #forgetpassword {
	  padding-left:40px;
  }
  .welcome {
	position:relative; top:50px;
	display:block;
	width:100%;
	
}
.welcome h3{
	text-align:center;
	color:green;
	}
.welcome img{
     position: relative; top:50px;
     height: 300px; width:80%;
 }
 .welcome p{
     color:red;
     margin-left:10px;
 }
 .errors{
      display:block;
     position:relative; top:25px;
     text-align: center;
     color:red;
  }
  .success{
     display:block;
     position:relative; top:25px;
     text-align: center;
     color:green;

  }

.new_success{
 position: relative;
 top:20px;
 text-align: justify; 
 padding:10px;
 font-size:12px;
 border: 1px solid #fff;
 border-radius:10px;
 background:#007BFF;
 color:white;
 display:block;
 left:5%;
 width:90%;

}
.new_errors{
 position: relative;
 top:20px;
 text-align: justify; 
 padding:10px;
 font-size:12px;
 border: 1px solid #fff;
 border-radius:10px;
 background:red;
 color:white;
 display:block;
 left:5%;
 width:90%;

}