/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f4f8fb;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Topbar */
.topbar {
  background: #eaf0f6;
  padding: 8px 20px;
  text-align: right;
  font-size: 14px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background: #003366;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  z-index: 999;
}
.navbar .logo a {
  font-size: 26px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.3s;
}
.nav-links li a:hover {
  background: #0055aa;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    background: #003366;
    position: absolute;
    top: 60px;
    right: 20px;
    width: 200px;
    border-radius: 4px;
    overflow: hidden;
  }
  .nav-links.active {
    display: flex;
  }
}

/* Hero Carousel */
.carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 10px;
  padding: 10px;
}
.carousel img {
  width: 100%;
  scroll-snap-align: start;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
section {
  padding: 60px 20px;
  text-align: center;
  background: #fff;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #003366;
}

.grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.grid div {
  background: #f0f7ff;
  padding: 20px;
  border-radius: 8px;
  width: 250px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.grid div:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.grid h3 {
  margin-top: 10px;
  font-size: 18px;
  color: #003366;
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 15px;
  text-decoration: none;
}
.btn-primary {
  background: #0066cc;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
}
.btn-primary:hover {
  background: #0055aa;
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.5);
}
.btn-secondary {
  background: #ffaa00;
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 170, 0, 0.4);
}
.btn-secondary:hover {
  background: #e69500;
  box-shadow: 0 6px 20px rgba(255, 170, 0, 0.5);
}

/* News */
.news article {
  background: #eef6ff;
  padding: 20px;
  margin: 10px auto;
  max-width: 800px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.news h3 {
  color: #003366;
}

/* Footer */
footer {
  background: #003366;
  color: white;
  padding: 30px 20px;
  text-align: center;
  font-size: 14px;
  margin-top: 30px;
  border-top: 4px solid #ffaa00;
}


/* === ABOUT PAGE ADDITIONS === */

/* Sections General */
section {
  padding: 60px 20px;
  background: #ffffff;
  margin: 20px auto;
  border-radius: 10px;
  max-width: 1100px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}

section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #003366;
}

section p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}

/* Images */
section img {
  margin-top: 20px;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

/* Grid Layout */
.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.grid div {
  background: #f1f7ff;
  padding: 15px;
  border-radius: 8px;
  width: 250px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.grid div:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.grid div img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}

.grid div h3 {
  color: #003366;
  font-size: 18px;
}

/* Query Form */
form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form input,
form textarea {
  padding: 12px 14px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 100%;
  resize: vertical;
}

form button {
  background: #0066cc;
  color: white;
  border: none;
  font-size: 16px;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
  transition: background 0.3s;
}

form button:hover {
  background: #0055aa;
}

/* News Cards */
.news .grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.news .grid div {
  width: 300px;
  background: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.news .grid div h3 {
  margin-top: 10px;
  font-size: 18px;
  color: #003366;
}

/* List Styling */
ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
  text-align: left;
}

ul li {
  padding: 10px 0;
  border-bottom: 1px solid #eaeaea;
  font-size: 16px;
}

/* Footer Consistency */
footer {
  background: #003366;
  color: #ffffff;
  text-align: center;
  padding: 30px 20px;
  font-size: 14px;
  margin-top: 40px;
  border-top: 5px solid #ffaa00;
}


/* === ADMISSIONS PAGE === */

/* Carousel */
.carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 10px;
  padding: 10px 20px;
}
.carousel img {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  scroll-snap-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Course Cards */
.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.grid div {
  background: #f4f9ff;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 20px;
  width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.grid div:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.grid div img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.grid div h3 {
  font-size: 20px;
  color: #003366;
  margin-bottom: 8px;
}

.grid div p {
  font-size: 15px;
  color: #444;
}

/* Application Form */
form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form input,
form select,
form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  width: 100%;
}

form button {
  background: #0066cc;
  color: #fff;
  font-size: 16px;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
}

form button:hover {
  background: #0055aa;
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.5);
}

/* FAQ Section */
ul {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

ul li {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 16px;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .grid {
    flex-direction: column;
    align-items: center;
  }

  .carousel img {
    max-height: 220px;
  }
}

/* === FACULTIES PAGE === */

/* Grid Sections */
.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.grid div {
  background: #f5f9ff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.grid div:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.grid div img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.grid div h3 {
  font-size: 20px;
  color: #003366;
  margin: 10px 0 6px;
}

.grid div p {
  font-size: 15px;
  color: #444;
  line-height: 1.5;
}

/* Nursing Announcement */
section img {
  max-width: 100%;
  height: auto;
  margin-top: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* List Style */
ul {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

ul li {
  padding: 10px 0;
  border-bottom: 1px solid #eaeaea;
  font-size: 16px;
  color: #333;
}

/* News Section */
.news .grid {
  gap: 20px;
  justify-content: center;
}

.news .grid div h3 {
  font-size: 18px;
  color: #003366;
  margin: 8px 0;
}

/* Section Defaults */
section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto 40px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

section h2 {
  font-size: 32px;
  text-align: center;
  color: #003366;
  margin-bottom: 25px;
}

section p {
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  color: #444;
}

/* Responsive */
@media (max-width: 768px) {
  .grid {
    flex-direction: column;
    align-items: center;
  }
}


/* === STUDENT AREA PAGE (UPDATED) === */

/* Section Styling */
section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto 40px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

section h2 {
  font-size: 30px;
  color: #003366;
  margin-bottom: 20px;
  text-align: center;
}

section p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  text-align: center;
}

/* Restore navbar button appearance */
.navbar .nav-links li a {
  padding: 10px 16px;
  background: transparent;
  color: white;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease;
  font-weight: 500;
}

.navbar .nav-links li a:hover {
  background: #0055aa;
  color: #fff;
}

/* Tables (Syllabus) */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px auto;
  background: #fefefe;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

table th,
table td {
  padding: 14px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

table th {
  background-color: #0066cc;
  color: white;
  font-weight: bold;
}

table tr:hover {
  background-color: #f0f8ff;
}

/* Lists (Notices, Announcements) */
ul {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}

section ul li {
 
  margin-bottom: 10px;
  padding: 12px 18px;
  border-left: 5px solid #0066cc;
  border-radius: 6px;
  text-align: left;
  font-size: 16px;
}

/* Forms (Application, Helpdesk) */
form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form input,
form select,
form textarea {
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  width: 100%;
}

form button {
  background: #0066cc;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(0, 102, 204, 0.3);
  transition: background 0.3s ease;
}

form button:hover {
  background: #004c99;
}

/* Buttons: Login/Register */
.btn-primary,
.btn-secondary {
  text-decoration: none;
  text-align: center;
  display: inline-block;
  margin: 10px 10px 20px;
}

.btn-secondary {
  background: #ffaa00;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(255, 170, 0, 0.4);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #e69500;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  table th,
  table td {
    padding: 10px;
  }

  .btn-primary,
  .btn-secondary {
    display: block;
    width: 90%;
    margin: 10px auto;
  }
}


/* === INTERNATIONAL STUDENTS PAGE === */

/* Sections */
section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto 40px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

section h2 {
  font-size: 30px;
  color: #003366;
  margin-bottom: 20px;
  text-align: center;
}

section p, section ul, section table {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

/* Table (Admission Process) */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px auto;
  background: #fefefe;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

table th, table td {
  padding: 14px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

table th {
  background-color: #0066cc;
  color: white;
  font-weight: bold;
}

table tr:hover {
  background-color: #f0f8ff;
}

/* List (Documents, Travel, Accreditation) */
ul {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}

section ul li {
 
  margin-bottom: 10px;
  padding: 12px 18px;
  border-left: 5px solid #0066cc;
  border-radius: 6px;
  text-align: left;
}

/* Forms (Application & Contact) */
form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form input, form select, form textarea {
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  width: 100%;
}

form button {
  background: #0066cc;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(0, 102, 204, 0.3);
  transition: background 0.3s ease;
}

form button:hover {
  background: #004c99;
}

/* Testimonials */
.testimonials {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.testimonials .card {
  background: #f5f9ff;
  border-radius: 10px;
  padding: 20px;
  width: 300px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.testimonials .card p {
  margin: 10px 0;
  font-size: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonials {
    flex-direction: column;
    align-items: center;
  }

  table th, table td {
    padding: 10px;
  }

  form button {
    width: 100%;
  }
}


/* === NEWS PAGE STYLING === */

/* News Blocks */
.news-block {
  background: #f8fcff;
  border-left: 6px solid #0066cc;
  padding: 20px;
  margin-bottom: 40px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 102, 204, 0.1);
}

.news-block h3 {
  margin-top: 0;
  color: #003366;
  font-size: 22px;
}

.news-block p {
  margin: 15px 0 0;
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

/* Notices / Circulars */
section ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

section ul li {
  background: #eef5ff;
  margin-bottom: 10px;
  padding: 12px 18px;
  border-left: 4px solid #0077cc;
  border-radius: 5px;
  font-size: 16px;
  color: #333;
}

/* Event Gallery */
.testimonials {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.testimonials .card {
  width: 300px;
  background: #f9f9f9;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.testimonials .card p {
  margin-top: 12px;
  font-size: 15px;
  color: #333;
  font-weight: 500;
}

/* Subscription Form */
form input[type=\"email\"] {
  padding: 12px;
  font-size: 16px;
  width: 80%;
  border: 1px solid #ccc;
  border-radius: 6px;
}

form button {
  padding: 12px 24px;
  background: #0066cc;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  margin-top: 10px;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 102, 204, 0.2);
}

form button:hover {
  background: #004c99;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .testimonials {
    flex-direction: column;
    align-items: center;
  }

  form input[type=\"email\"] {
    width: 100%;
  }

  .news-block img {
    max-height: 200px !important;
  }
}


/* === CONTACT PAGE — MODERN STYLING === */

/* Section Base */
section {
  padding: 60px 25px;
  max-width: 1100px;
  margin: 0 auto 60px;
  background: linear-gradient(135deg, #fdfdfd, #f0f7ff);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

section h2 {
  font-size: 32px;
  color: #003366;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

section p {
  font-size: 17px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* Contact Form */
form {
  background: #ffffff;
  border: 1px solid #d3e0ef;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 102, 204, 0.05);
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 600px;
  margin: 0 auto;
}

form input,
form textarea {
  padding: 14px;
  font-size: 16px;
  border: 1px solid #ccddee;
  border-radius: 8px;
  outline: none;
  transition: 0.3s;
}

form input:focus,
form textarea:focus {
  border-color: #0066cc;
  background: #f0f8ff;
}

form textarea {
  min-height: 130px;
  resize: vertical;
}

form button {
  background: #0066cc;
  color: white;
  font-size: 16px;
  padding: 14px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 5px 14px rgba(0, 102, 204, 0.3);
  transition: background 0.3s ease;
}

form button:hover {
  background: #004b99;
}

/* Department Cards */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.testimonials .card {
  background: #ffffff;
  border-left: 5px solid #007acc;
  padding: 25px 20px;
  width: 260px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease;
  text-align: left;
}

.testimonials .card:hover {
  transform: translateY(-5px);
}

.testimonials .card h3 {
  color: #004b99;
  font-size: 18px;
  margin-bottom: 10px;
}

.testimonials .card p {
  color: #333;
  font-size: 15px;
  margin-bottom: 5px;
}

/* FAQ List */
ul {
  list-style: none;
  padding: 0;
  margin-top: 25px;
}

section ul li {
  background: #f7fbff;
  padding: 16px 20px;
  margin-bottom: 12px;
  border-left: 6px solid #0077cc;
  border-radius: 8px;
  font-size: 16px;
  color: #333;
  box-shadow: 0 3px 10px rgba(0,0,0,0.04);
}

/* Responsive */
@media (max-width: 768px) {
  .testimonials {
    flex-direction: column;
    align-items: center;
  }

  form {
    padding: 20px;
  }

  form input,
  form textarea {
    font-size: 15px;
  }

  form button {
    font-size: 15px;
  }
}


/* === TOP STRIP HEADER WITH MINISTRY LOGOS AND SEARCH === */
.top-strip {
  background: #e6f0ff;
  padding: 10px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  border-bottom: 2px solid #c0d8f0;
  position: relative;
  z-index: 1000;
}

.logo-row img {
  height: 80px;           /* Increased size */
  width: auto;
  border-radius: 6px;
  object-fit: contain;
  background: white;      /* Background helps contrast */
  padding: 6px;           /* Some spacing inside */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);  /* Subtle shadow */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.logo-row img:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}


.logo-row img:hover {
  transform: scale(1.05);
}

.search-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-row input[type="text"] {
  padding: 8px 12px;
  font-size: 15px;
  border: 1px solid #aac8e6;
  border-radius: 6px;
  width: 220px;
  background: #fff;
  transition: 0.3s ease;
}

.search-row input:focus {
  outline: none;
  border-color: #0066cc;
  background: #f4faff;
}

.search-row button {
  padding: 8px 14px;
  font-size: 15px;
  background-color: #0066cc;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.search-row button:hover {
  background-color: #004c99;
  transform: translateY(-1px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .top-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-row {
    width: 100%;
    margin-top: 10px;
  }

  .search-row input[type="text"] {
    width: 100%;
  }

  .logo-row {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }
 .logo-row img {
    height: 60px; /* Mobile-friendly but larger */
  }
  .logo-row img {
    height: 36px;
  }
}


/* Verification Container */
.verify-container {
  max-width: 700px;
  margin: 40px auto;
  background: #f9f9ff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}
.verify-container h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #003366;
}
.verify-container form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.verify-container input,
.verify-container button {
  padding: 12px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
.verify-container button {
  background-color: #0055aa;
  color: white;
  font-weight: bold;
  transition: 0.3s;
}
.verify-container button:hover {
  background-color: #004080;
}
.verify-result {
  margin-top: 20px;
}

/* Result Box */
.verified-box,
.notfound-box {
  padding: 20px;
  border-radius: 10px;
  margin-top: 15px;
}
.verified-box {
  background: #e7fff0;
  border: 2px solid #00a86b;
}
.notfound-box {
  background: #ffe6e6;
  border: 2px solid #cc0000;
}

/* Instructions */
.instructions {
  max-width: 750px;
  margin: 40px auto;
  background: #fefefe;
  padding: 25px;
  border-left: 5px solid #3366cc;
  border-radius: 8px;
}
.instructions h2 {
  color: #002366;
  margin-bottom: 15px;
}
.instructions ul {
  padding-left: 20px;
}
.instructions ul li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* Contact Note */
.contact-note {
  max-width: 700px;
  margin: 30px auto;
  padding: 20px;
  text-align: center;
  font-size: 16px;
  background: #f5faff;
  border: 1px solid #ddeeff;
  border-radius: 10px;
}

/* Footer */
footer {
  background-color: #003366;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 60px;
}
.footer-content p {
  margin: 5px;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .logo-row {
    flex-wrap: wrap;
    gap: 10px;
  }
  .search-row input {
    width: 180px;
  }
  .verify-container, .instructions, .contact-note {
    margin: 20px;
    padding: 20px;
  }
}

.logo-strip {
  background-color: #f1f5f9;
  padding: 30px 0;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow-x: auto;
}
.logo-strip .logo-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 40px;
  padding: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.logo-strip .logo-row::-webkit-scrollbar {
  display: none;
}
.logo-strip .logo-row img {
  height: 100px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.logo-strip .logo-row img:hover {
  transform: scale(1.08);
}

.logo img {
  height: 60px;
  width: 180px;
  object-fit: cover;       /* This will crop and fill the space */
  object-position: center;
  background-color: white;
  border-radius: 6px;
  padding: 3px;
  display: block;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.program-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px 0;
}
.program-cards .card {
  background: #f0f4f8;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}
.program-cards .card:hover {
  transform: translateY(-5px);
}
.program-cards .card h3 {
  margin-top: 0;
  color: #0d3b66;
}


.news {
  background-color: #f9fafb;
  padding: 40px 20px;
}
.news-card {
  background-color: #fff;
  border-left: 5px solid #0d3b66;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.news-card h3 {
  margin-top: 0;
  color: #0d3b66;
}
.news-card p {
  line-height: 1.6;
  color: #333;
}

.student-area {
  background-color: #f0f4f8;
  padding: 40px 20px;
  border-radius: 10px;
  text-align: center;
}
.student-area ul {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 600px;
  margin: 0 auto 20px;
}
.student-area ul li {
  padding: 8px 0;
  font-size: 16px;
}
.btn-student {
  display: inline-block;
  background-color: #0d3b66;
  color: white;
  padding: 10px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}
.btn-student:hover {
  background-color: #145da0;
}

.faq {
  background-color: #f8fafc;
  padding: 40px 20px;
  border-radius: 10px;
}
.faq h2 {
  text-align: left;
  margin-bottom: 30px;
  color: #0d3b66;
}
.faq-item {
  margin-bottom: 20px;
  padding: 15px 20px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #d0d7de;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.faq-item h3,
.faq-item p {
  text-align: left;
  margin: 0 0 10px 0;
  font-size: 16px;
  color: #333;
}
.faq-item h3 {
  color: #145da0;
  font-size: 18px;
  margin-bottom: 8px;
}


.contact-cta {
  background: linear-gradient(135deg, #0d3b66, #3b82f6);
  color: white;
  padding: 60px 20px;
  text-align: center;
}
.contact-cta h2 {
  font-size: 28px;
  margin-bottom: 15px;
}
.contact-cta p {
  font-size: 16px;
  margin-bottom: 30px;
}
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 15px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
}
.contact-form textarea {
  resize: vertical;
}
.contact-form button {
  background-color: #facc15;
  color: #0d3b66;
  border: none;
  padding: 14px 25px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}
.contact-form button:hover {
  background-color: #eab308;
}

.contact-cta h2,
.contact-cta p {
  color: #ffffff;
}


.history-section {
  background-color: #f9fafb;
  padding: 60px 20px;
  border-radius: 10px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}
.history-section h2 {
  font-size: 28px;
  color: #0d3b66;
  margin-bottom: 20px;
}
.history-section p {
  font-size: 18px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 30px;
}
.history-section img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


.rector-message {
  background-color: #f9f9f9;
  padding: 40px 20px;
  text-align: left;
  max-width: 1000px;
  margin: auto;
}

.rector-message img {
  max-width: 180px;
  border-radius: 10px;
  float: right;
  margin-left: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.rector-message-box {
  background-color: #ffffff;
  border-left: 5px solid #004080;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-top: 20px;
}
.rector-message-box h3 {
  margin-top: 0;
  color: #004080;
}
.rector-message-box p {
  line-height: 1.6;
}


.admin-team {
  background-color: #f7f9fc;
  padding: 60px 20px;
}

.admin-team h2 {
  font-size: 28px;
  text-align: left;
  margin-bottom: 40px;
  color: #0a2a50;
}

.grid-admin {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.admin-card {
  background-color: #fff;
  border-left: 6px solid #004080;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease;
}

.admin-card:hover {
  transform: translateY(-6px);
}

.admin-card img {
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: contain; /* Show the full image without zooming */
  border-radius: 8px;
  margin-bottom: 15px;
  background-color: #f0f0f0; /* Optional: makes empty areas visible */
}


.admin-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #003366;
}

.admin-card p {
  font-size: 15px;
  color: #444;
  line-height: 1.5;
}



.courses {
  background-color: #f9fbfd;
  padding: 60px 20px;
}

.courses h2 {
  font-size: 30px;
  color: #002855;
  text-align: left;
  margin-bottom: 40px;
}

.course-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.course-card {
  background-color: #fff;
  border-left: 6px solid #0055a5;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease;
}

.course-card:hover {
  transform: translateY(-6px);
}

.course-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #003366;
}

.course-card p {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}



.partner-hospitals {
  background-color: #f4f7fb;
  padding: 60px 20px;
}

.partner-hospitals h2 {
  font-size: 30px;
  color: #003366;
  text-align: left;
  margin-bottom: 40px;
}

.hospital-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.hospital-card {
  background-color: #fff;
  border-left: 6px solid #0077b6;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.hospital-card:hover {
  transform: translateY(-5px);
}

.hospital-card h3 {
  font-size: 20px;
  color: #004080;
  margin-bottom: 10px;
}

.hospital-card p {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}


.faculty-section {
  background-color: #f4f7fb;
  padding: 60px 20px;
}

.faculty-section h2 {
  font-size: 30px;
  color: #003366;
  text-align: left;
  margin-bottom: 20px;
}

.faculty-section > p {
  font-size: 16px;
  color: #444;
  margin-bottom: 40px;
  text-align: left;
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.faculty-card {
  background-color: #ffffff;
  border-left: 5px solid #0059b3;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.faculty-card:hover {
  transform: translateY(-5px);
}

.faculty-card h3 {
  font-size: 20px;
  color: #003366;
  margin-bottom: 8px;
}

.faculty-card p {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
}


.program-tracks {
  background-color: #fff9f5;
  padding: 60px 20px;
}

.program-tracks h2 {
  font-size: 28px;
  text-align: left;
  margin-bottom: 30px;
  color: #cc5500;
}

.grid-programs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.program-card {
  border-left: 6px solid #ff6b00;
  background-color: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 6px 12px rgba(255, 107, 0, 0.1);
  transition: transform 0.3s ease;
}

.program-card:hover {
  transform: translateY(-5px);
}

.program-card h3 {
  color: #e65c00;
  font-size: 20px;
  margin-bottom: 10px;
}

.program-card p {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}


.nursing-faculty {
  background-color: #f6fbff;
  padding: 50px 20px;
  border-left: 5px solid #1f78b4;
}

.nursing-faculty h2 {
  font-size: 26px;
  color: #0a3a6b;
  margin-bottom: 20px;
}

.nursing-faculty p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
}

.nursing-faculty img {
  width: 100%;
  max-width: 800px;
  margin-top: 20px;
  border-radius: 10px;
}


.welcome-students {
  background-color: #f0f9ff;
  padding: 60px 30px;
  border-left: 6px solid #0077b6;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  color: #003049;
  margin-top: 40px;
}

.welcome-students h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #023e8a;
}

.welcome-students p {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.welcome-students ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.welcome-students ul li {
  margin-bottom: 12px;
  padding-left: 1em;
  position: relative;
}



.welcome-students .btn-link {
  background-color: #ff8a05;
  color: white;
  padding: 10px 18px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.welcome-students .btn-link:hover {
  background-color: #005f8f;
}



.student-auth {
  background-color: #e6f2ff;
  padding: 60px 20px;
  border-left: 6px solid #004080;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  text-align: center;
  margin-top: 40px;
}

.student-auth h2 {
  font-size: 28px;
  color: #003366;
  margin-bottom: 15px;
}

.student-auth p {
  font-size: 16px;
  margin-bottom: 30px;
  color: #333;
}

.auth-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.auth-box {
  background-color: #ffffff;
  padding: 30px 25px;
  border-radius: 10px;
  width: 300px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease;
}

.auth-box:hover {
  transform: translateY(-6px);
}

.auth-box h3 {
  font-size: 20px;
  color: #002244;
  margin-bottom: 10px;
}

.auth-box p {
  font-size: 15px;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.5;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 10px 18px;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  transition: background-color 0.3s ease;
}

.btn-primary {
  background-color: #0077b6;
}

.btn-primary:hover {
  background-color: #005f8f;
}

.btn-secondary {
  background-color: #ff7b00;
}

.btn-secondary:hover {
  background-color: #cc6600;
}



.syllabus {
  background-color: #f7fcff;
  padding: 60px 20px;
  margin-bottom: 40px;
  border-radius: 10px;
}

.syllabus h2 {
  color: #003366;
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 20px;
  border-left: 6px solid #0077b6;
  padding-left: 10px;
}

.syllabus table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
}

.syllabus table, 
.syllabus th, 
.syllabus td {
  border: 1px solid #ccc;
}

.syllabus th {
  background-color: #0077b6;
  color: white;
  padding: 12px;
  text-align: left;
}

.syllabus td {
  padding: 12px;
  background-color: #fff;
  color: #333;
}

@media (max-width: 768px) {
  .syllabus table, 
  .syllabus thead, 
  .syllabus tbody, 
  .syllabus th, 
  .syllabus td, 
  .syllabus tr {
    display: block;
  }

  .syllabus tr {
    margin-bottom: 15px;
  }

  .syllabus td {
    text-align: right;
    padding-left: 50%;
    position: relative;
  }

  .syllabus td::before {
    position: absolute;
    left: 15px;
    top: 12px;
    white-space: nowrap;
    font-weight: bold;
    color: #0077b6;
  }

  .syllabus td:nth-of-type(1)::before { content: "Курс"; }
  .syllabus td:nth-of-type(2)::before { content: "Предметы"; }
  .syllabus td:nth-of-type(3)::before { content: "Часы"; }
}



.announcements-block {
  background-color: #f8fafc;
  padding: 60px 30px;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.announcements-block h2 {
  font-size: 28px;
  color: #003366;
  margin-bottom: 30px;
  border-left: 6px solid #0077b6;
  padding-left: 15px;
}

.announcements-block ul {
  list-style: none;
  padding: 0;
}

.announcements-block li {
  margin-bottom: 30px;
  background-color: #fff;
  border-left: 5px solid #0077b6;
  padding: 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.announcements-block li:hover {
  background-color: #e6f3ff;
  transform: translateY(-4px);
}

.announcements-block h3 {
  font-size: 20px;
  color: #004080;
  margin-bottom: 8px;
}

.announcements-block p {
  font-size: 16px;
  color: #333;
  margin: 0;
  line-height: 1.5;
}


/* Login & Register Page Styles */

.login-section,
.register-section {
  background-color: #f5f9ff;
  padding: 60px 20px;
  text-align: center;
}

.login-section h2,
.register-section h2 {
  font-size: 28px;
  color: #003366;
  margin-bottom: 30px;
}

.form-box {
  max-width: 500px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  text-align: left;
}

.form-box label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
  color: #003366;
}

.form-box input {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
}

.btn-primary {
  display: inline-block;
  background-color: #004080;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #0066cc;
}



/* Topbar Styling */
.topbar {
  background-color: #ffffff;
  border-bottom: 1px solid #ccc;
  padding: 6px 0;
  font-family: 'Segoe UI', sans-serif;
  font-size: 14px;
  position: relative;
  z-index: 1000;
}

.topbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.topbar-left {
  color: #333;
}

.topbar-left a {
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
}

.topbar-right a {
  margin-left: 20px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.topbar-right a:hover {
  color: #0077ff;
}

/* Responsive */
@media (max-width: 768px) {
  .topbar-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-right {
    margin-top: 5px;
  }

  .topbar-right a {
    margin-left: 0;
    margin-right: 15px;
  }
}
