/* General Styling */
body {
  background_image:url('images/home_bg.jpg');
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #2c2c2c;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Navigation Bar */
nav {
  background-color: maroon;
  color: white;
  padding: 15px 0;
  text-align: center;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 20px;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #f5deb3; /* Cream hover effect */
}

/* Header Section */
header {

  text-align: center;
  color: white;
  padding: 100px 20px;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Page Content */
.container {
  background-color: rgba(255, 248, 240, 0.95); /* Creamish background */
  margin: 40px auto;
  padding: 30px;
  width: 85%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Footer */
footer {
  text-align: center;
  padding: 15px;
  background-color: maroon;
  color: white;
  margin-top: 40px;
}

/* Responsive */
@media screen and (max-width: 768px) {
  nav a {
    display: block;
    margin: 10px 0;
  }
}
/* Leadership Section Hover Animation */
.leader-card {
  width: 250px;
  text-align: center;
  background-color: rgba(255, 248, 240, 0.95);
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.4s, box-shadow 0.4s;
}

.leader-card img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.4s;
}

.leader-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(128, 0, 0, 0.6);
}

.leader-card:hover img {
  transform: scale(1.05);
}
/* === Admissions Page Styles === */
.admissions-page {
  background: url('images/admissions-bg.jpg') no-repeat center center/cover;
  color: #222;
  font-family: 'Poppins', sans-serif;
}

.admissions-section {
  background-color: rgba(255, 255, 255, 0.92);
  width: 90%;
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.admissions-section h2, 
.admissions-section h3 {
  color: maroon;
  text-align: center;
  margin-bottom: 15px;
}

.admission-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.admission-form label {
  font-weight: 600;
}

.admission-form input,
.admission-form select {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
}

.admission-form button {
  grid-column: span 2;
  background: maroon;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

.admission-form button:hover {
  background: #800000;
}

.admission-results {
  text-align: center;
  margin-top: 30px;
}

.download-btn {
  display: inline-block;
  margin: 8px;
  padding: 10px 15px;
  background: maroon;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
}

.download-btn:hover {
  background: #800000;
}
.admissions-page {
  background: url('images/admissions-bg.jpg') no-repeat center center/cover;
  font-family: "Poppins", sans-serif;
}

.admissions-section {
  width: 90%;
  max-width: 1000px;
  margin: 40px auto;
  background: rgba(255,255,255,0.95);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.admissions-section h2 {
  text-align: center;
  color: maroon;
  margin-bottom: 5px;
}

.form-code {
  text-align: right;
  font-style: italic;
  color: #555;
  margin-bottom: 20px;
}

h3 {
  color: maroon;
  border-bottom: 2px solid maroon;
  margin-top: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin-bottom: 15px;
}

.form-grid label {
  font-weight: 600;
}

input, select {
  padding: 6px;
  border-radius: 5px;
  border: 1px solid #ccc;
  width: 100%;
}

.radio-group {
  display: flex;
  gap: 10px;
}

table.qualifications {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

table.qualifications th, table.qualifications td {
  border: 1px solid #ccc;
  padding: 6px;
  text-align: left;
}

table.qualifications input {
  width: 100%;
  border: none;
}

button {
  background: maroon;
  color: #fff;
  border: none;
  padding: 10px 15px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  display: block;
  margin: 15px auto;
}

button:hover {
  background: #800000;
}

.download-btn {
  display: inline-block;
  background: maroon;
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
  margin: 8px;
}

.download-btn:hover {
  background: #a30000;
}

.admission-results {
  text-align: center;
  margin-top: 30px;
}
html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

.slideshow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1; /* pushes slideshow behind everything */
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caption {
  position: absolute;
  bottom: 30px;
  width: 100%;
  text-align: center;
  font-size: 24px;
  color: white;
  background: rgba(0, 0, 0, 0.4);
  padding: 10px;
}
/* General Body and Page Settings */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #3b0a0a;
  min-height: 100vh;
  overflow-y: auto;
  background-image: url('../images/admission-bg.jpg'); /* adjust path if needed */
  background-size: cover;
  background-attachment: scroll; /* allows scrolling */
  background-position: center;
}

/* Header Navigation */
header nav {
  background: maroon;
  padding: 10px 20px;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

header nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 4px;
  transition: 0.3s;
}

header nav ul li a:hover,
header nav ul li a.active {
  background-color: green;
}

/* Admission Container */
.admission-container {
  max-width: 900px;
  margin: 50px auto;
  background: rgba(255, 250, 240, 0.97);
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Headings */
h2 {
  color: maroon;
  border-bottom: 2px solid maroon;
  padding-bottom: 5px;
  text-align: left;
}

/* Form Styling */
form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

label {
  font-weight: 600;
  margin-bottom: 3px;
}

input, select, textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid maroon;
  border-radius: 6px;
  background-color: #fffaf3;
}

.form-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

/* Buttons */
.btn, .downloads a {
  display: inline-block;
  background: maroon;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
  margin-top: 10px;
  transition: 0.3s;
}

.btn:hover, .downloads a:hover {
  background: #8b0000;
}

/* Downloads Links */
.downloads {
  margin-top: 20px;
  text-align: left;
}

.downloads a {
  margin-right: 15px;
}

/* Footer */
footer {
  background: maroon;
  color: white;
  text-align: center;
  padding: 15px 20px;
  margin-top: 40px;
}

footer a {
  color: green;
  text-decoration: none;
  margin: 0 10px;
}

/* Apply Buttons Across Pages */
.apply-btn {
  display: inline-block;
  background: green;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.apply-btn:hover {
  background: #004d00;
}
/* ====== GLOBAL STYLES ====== */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f7f7f7;
}

/* ====== HEADER ====== */
header {
    background-color: maroon;
    padding: 20px;
    color: white;
    text-align: center;
}

header h1, header h3 {
    margin: 5px 0;
}

/* ====== NAVIGATION ====== */
nav {
    background-color: green;
    padding: 15px;
    text-align: center;
}

nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* ====== MAIN CONTAINER ====== */
.container {
    max-width: 1000px;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h2 {
    color: maroon;
    border-left: 5px solid green;
    padding-left: 10px;
}

/* ====== NEWS ITEMS ====== */
.news-item {
    background: #fff;
    padding: 15px;
    border-left: 4px solid maroon;
    margin-bottom: 15px;
    border-radius: 5px;
    transition: background 0.3s;
}

.news-item:hover {
    background: #f0eded;
}

.news-item h3 {
    margin-bottom: 8px;
    color: maroon;
}

/* ====== APPLY BUTTON ====== */
.apply-btn {
    display: inline-block;
    padding: 12px 20px;
    background: maroon;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 20px;
    transition: 0.3s;
}

.apply-btn:hover {
    background: green;
    transform: scale(1.05);
}
