/*------------------- header-footer css----------------------------*/
body {
  font-family: Arial, sans-serif;
  background: linear-gradient(rgb(189, 192, 211), rgb(196, 157, 196));
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Header container */
header {
  background: linear-gradient(to right, rgb(83, 83, 165), rgb(233, 123, 147)); /* gradient */
  color: white; /* White text */
  padding: 15px 0;
}

/* Logo section */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  margin-right: 10px; /* Spacing between logo and text */
}

.logo h6 {
  font-size: 16px;
  font-weight: bold;
}

/* Navigation menu */
nav .nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

nav .nav-item {
  margin-left: 20px; /* Space between menu items */
}

nav .nav-link {
  color: white; /* White text for menu links */
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease; /* Smooth hover transition */
}

nav .nav-link:hover {
  color: #ffd700; /* Change to gold on hover */
}

/* Responsive design for mobile screens */
@media (max-width: 768px) {
  header .container {
      flex-direction: column;
      text-align: center;
  }

  .logo img {
    width: 50px; /* Reduce logo size for smaller screens */
  }

  .logo h6 {
    font-size: 14px; /* Reduce font size for smaller screens */
  }

  nav .nav {
      flex-direction: column;
      margin-top: 10px;
  }

  nav .nav-item {
      margin-left: 0;
      margin-top: 10px;
  }

  nav .nav-link {
    font-size: 16px; /* Increase link font size for better readability on mobile */
    padding: 10px 0;
  }
}

/* Footer Styling */
footer {
  background-color: #343a40; /* Dark grey background */
  color: white; /* White text */
  padding: 20px 0; /* Padding for the footer */
}

footer p {
  margin: 0; /* Remove margin from paragraphs */
  font-size: 14px; /* Footer text size */
}

footer .list-unstyled {
  list-style: none; /* Remove bullets from the list */
  padding: 0; /* Remove padding */
  margin: 0; /* Remove margin */
}

footer .list-unstyled li {
  margin-bottom: 10px; /* Space between links */
}

footer .list-unstyled li a {
  color: white; /* White text for links */
  text-decoration: none; /* Remove underline from links */
  transition: color 0.3s ease; /* Smooth hover transition */
}

footer .list-unstyled li a:hover {
  color: #ffd700; /* Change to gold on hover */
}

footer .text-right {
  text-align: right; /* Right-align text on larger screens */
}

footer .text-right p {
  margin-top: 10px; /* Space between "Developed by" text and links */
}

/* Responsive design for footer */
@media (max-width: 768px) {
  footer .text-right {
      text-align: left; /* Align text to the left on smaller screens */
      margin-top: 20px;
  }

  footer .row {
      flex-direction: column; /* Stack columns vertically on smaller screens */
  }

  footer p {
    font-size: 12px; /* Slightly reduce footer text size on small screens */
  }
}

/* home page using even odd thing* with class we use dot and with id we use hash# remember ashu */
#h1{
  color: #007BFF;
}
.even{
  color: red;
 }
.odd{
  color: #415366;
  
}
.my-5{
  background-color: #d6dce4;
}
/* ticker setting: on the home page. Remember for ticker we need three things: java, html and css. we can always add id or class */
.ticker-wrap {
  overflow: hidden;
  width: 100%;
  height: 30px;
  border: 1px solid #ccc;
}

.ticker {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

@keyframes ticker {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
.tc1 {
  color:red;
  font-weight: 100;
  font-size: 20px;
}
.tc2{
  color: #007BFF;
  font-weight: 100;
  font-size: 20px;
}
.tc3{
  color: red;
  font-weight: 100;
  font-size: 20px;
}
/* --------------------login page on root css---best responsive...all devices ---------------------------------------------*/

/* General Styles */
body {
  font-family: 'Arial', sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box; /* Include padding in width calculation */
}

/* Header Styles */
header {
  background-color: #007bff;
  color: #fff;
  padding: 1rem 0;
  margin-bottom: 2rem;
}

header h1 {
  margin: 0;
  font-size: 2rem;
}

/* Main Content Styles */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col-md-8, .col-md-4 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .col-md-8 {
      flex: 0 0 66.666667%;
      max-width: 66.666667%;
  }
  .col-md-4 {
      flex: 0 0 33.333333%;
      max-width: 33.333333%;
  }
}

h2 {
  color: #007bff;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

h3#imp1 {
  color: #28a745;
  border-bottom: 2px solid #28a745;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

ul {
  padding-left: 20px;
}

ul li {
  margin-bottom: 0.5rem;
}

/* Form Styles */
#bli {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  font-weight: bold;
  margin-bottom: 0.5rem;
  display: block;
}

.form-control {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  box-sizing: border-box;
}

.btn-primary {
  background-color: #007bff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
  width: 100%;
}

.btn-primary:hover {
  background-color: #0056b3;
}

/* CAPTCHA Styles */
img[src="captcha.php"] {
  border: 1px solid #ddd;
  border-radius: 4px;
  max-width: 100%;
  height: auto;
}

/* Alert Styles */
.alert {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 0.25rem;
}

.alert-danger {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .row {
      flex-direction: column;
  }
  
  .col-md-8, .col-md-4 {
      width: 100%;
      margin-bottom: 2rem;
  }
  
  h2 {
      font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  header h1 {
      font-size: 1.5rem;
  }
  
  h2 {
      font-size: 1.2rem;
  }
  
  #bli {
      padding: 1rem;
  }
}

/* Footer Styles */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
  width: 100%;
}
/*--------------------------applyform.php----------------*/
/* General Styles */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Form Styles */
form {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

input[type="file"] {
  padding: 5px;
}

input[readonly] {
  background-color: #f9f9f9;
  cursor: not-allowed;
}

/* Button Styles */
.btn-primary {
  background-color: #007bff;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary:hover {
  background-color: #0056b3;
}

/* Alert Styles */
.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.alert-info {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

/* Important Information Styles */
#important-info {
  background-color: #e9ecef;
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 20px;
}

#imp1 {
  color: #007bff;
  margin-bottom: 15px;
}

#imp2 {
  margin-bottom: 10px;
}

#imp2.even {
  background-color: #f8f9fa;
}

#imp2.odd {
  background-color: #e9ecef;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .col-md-4, .col-md-8 {
      width: 100%;
      padding: 0;
  }

  #important-info {
      margin-bottom: 30px;
  }

  .form-control {
      font-size: 14px;
  }

  .btn-primary {
      width: 100%;
  }
}

@media (max-width: 576px) {
  body {
      font-size: 14px;
  }

  .container {
      padding: 0 10px;
  }

  form {
      padding: 15px;
  }

  #imp1 {
      font-size: 18px;
  }

  #imp2 {
      font-size: 14px;
  }
}

/*--------------------------output.php------------------------------------------*/
#printableArea {
  width: 600px; /* Set a fixed width */
  background-color: white; /* White background */
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  padding: 20px; /* Padding around content */
  margin: 20px auto; /* Center align with auto margins */
}

/* Header Text Styles */
.header-text {
  text-align: center; /* Centered text */
  margin-bottom: 20px; /* Space below header */
}

.header-text .logo {
  width: 100px; /* Fixed logo size */
  display: block; /* Make logo a block element */
  margin: 0 auto 10px; /* Center logo with margin below */
}

.header-text h1,
.header-text h2,
.header-text h3 {
  margin: 5px 0; /* Space between headings */
}

/* Table Styles */
.table {
  width: 100%; /* Full width for the table */
  border-collapse: collapse; /* Collapse borders */
  margin-top: 20px; /* Space above the table */
}

.table td {
  padding: 10px; /* Padding inside table cells */
  border: 1px solid #ccc; /* Border color */
}

/* PDF Download Button */
.pdf-download-container {
  text-align: center; /* Center align the button */
  margin-top: 20px; /* Space above the button */
}

.pdf-download-btn {
  background-color: rgb(83, 83, 165); /* Button background color */
  color: white; /* White text */
  padding: 10px 20px; /* Padding for button */
  border: none; /* No border */
  border-radius: 4px; /* Rounded corners */
  text-decoration: none; /* Remove underline */
  transition: background-color 0.3s ease; /* Smooth transition */
}

.pdf-download-btn:hover {
  background-color: rgb(233, 123, 147); /* Change color on hover */
}

/* Responsive design for mobile */
@media (max-width: 768px) {
  #printableArea {
    width: 90%; /* Full width on smaller screens */
    padding: 15px; /* Adjust padding for smaller screens */
    margin: 10px; /* Adjust margin for smaller screens */
  }

  .header-text h1,
  .header-text h2,
  .header-text h3 {
    font-size: 16px; /* Smaller font size for headings */
  }

  .table td {
    font-size: 14px; /* Smaller font size for table data */
  }

  .pdf-download-container {
    margin-top: 15px; /* Adjust margin for smaller screens */
  }
}
