/* Custom CSS for Mahatma Gandhi vocational courses training institute (Hotel management or I.T.I) - Premium Green/Orange Theme */

:root {
  --primary-color: #10b981; /* Emerald Green */
  --primary-hover: #059669;
  --secondary-color: #065f46; /* Deep Green */
  
  --accent-color: #f97316; /* Vibrant Orange */
  --accent-hover: #ea580c;
  
  --bg-page: #e6f7f0; /* Soft mint/green page background */
  --bg-container: #ffffff; /* White center container */
  
  --text-main: #1e293b; /* Dark slate */
  --text-muted: #64748b;
  
  --header-bg: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  --header-border: #f97316;
  
  --news-bg: #1e293b; /* Dark slate background for ticker */
  --news-text: #ffffff;
  
  --navbar-bg: #ffffff;
  --navbar-text: #333333;
  --navbar-hover: #10b981;

  /* Premium Linear Gradient (Orange to Green) */
  --gradient-primary: linear-gradient(90deg, #f97316 0%, #10b981 100%);
  --gradient-hover: linear-gradient(90deg, #ea580c 0%, #059669 100%);
}

body {
  background-color: var(--bg-page);
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-main);
}

/* Header */
.header {
  background: var(--header-bg);
  border-bottom: 3px solid var(--header-border);
  padding: 15px 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  box-sizing: border-box;
}

.header-logo {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.header-logo img {
  height: 90px;
  width: 90px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  background-color: #fff;
}

.header-text {
  text-align: center;
  width: 100%;
}

.subtitle-red {
  color: #ff0000;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 5px;
  text-align: center;
}

.title-hindi {
  color: #b45309; /* Deep golden amber */
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 5px 0;
  text-align: center;
}

.title-english {
  color: #1e293b;
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 8px 0;
  font-family: fantasy;
  text-align: center;
}

.run-by {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: bold;
  margin-bottom: 2px;
  text-align: center;
}

.run-by-org {
  color: var(--text-main);
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 2px;
  text-align: center;
}

.iso-cert {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: bold;
  text-align: center;
}

/* News Bar */
.news-bar {
  background-color: var(--news-bg);
  color: var(--news-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  padding: 8px 15px;
  font-size: 13px;
}

.news-title {
  font-weight: bold;
  color: var(--accent-color);
  margin-right: 15px;
  white-space: nowrap;
}

.news-marquee {
  flex-grow: 1;
  overflow: hidden;
}

.news-marquee marquee {
  vertical-align: middle;
}

.news-marquee a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  margin-right: 30px;
  font-weight: bold;
}

.news-marquee a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.news-payment {
  margin-left: 15px;
  white-space: nowrap;
}

.online-payment-link {
  background-color: var(--accent-color);
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 20px;
  transition: background-color 0.2s;
}

.online-payment-link:hover {
  background-color: var(--accent-hover);
}

/* Navbar Styles Override for Bootstrap Expandable Navbar */
.navbar-light-custom {
  background-color: var(--navbar-bg) !important;
  border-bottom: 1px solid rgba(16, 185, 129, 0.15);
  padding: 8px 15px !important;
  font-size: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  width: 100%;
}

.navbar-light-custom .navbar-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.navbar-light-custom .nav-item {
  display: flex;
  align-items: center;
}

.navbar-light-custom .nav-link {
  color: var(--navbar-text) !important;
  text-decoration: none;
  font-weight: bold;
  padding: 4px 12px !important;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  line-height: 1.2;
  transition: color 0.2s;
}

.navbar-light-custom .nav-link:hover {
  color: var(--navbar-hover) !important;
}

.navbar-light-custom .social-icons-item {
  border-right: none;
}

.navbar-light-custom .social-icons {
  display: inline-flex;
  gap: 10px;
  padding-left: 12px;
  align-items: center;
}

.navbar-light-custom .social-icons a {
  color: var(--navbar-text);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
  border-right: none !important;
  padding: 0 !important;
}

.navbar-light-custom .social-icons a:hover {
  color: var(--navbar-hover);
}

/* Custom Hamburger styling to match green theme */
.navbar-light-custom .navbar-toggler {
  border-color: rgba(16, 185, 129, 0.3) !important;
  padding: 4px 8px;
}

.navbar-light-custom .navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2) !important;
  outline: none;
}

.navbar-light-custom .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(16, 185, 129, 0.85)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Dropdown Menu styling */
.navbar-light-custom .dropdown-menu {
  background-color: var(--navbar-bg) !important;
  border: 1px solid rgba(16, 185, 129, 0.15) !important;
  border-radius: 4px !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08) !important;
  font-size: 12px !important;
  padding: 5px 0 !important;
}

.navbar-light-custom .dropdown-item {
  color: var(--navbar-text) !important;
  font-weight: bold !important;
  padding: 6px 16px !important;
  transition: background-color 0.2s, color 0.2s !important;
}

.navbar-light-custom .dropdown-item:hover {
  background-color: var(--bg-page) !important;
  color: var(--primary-color) !important;
}

.navbar-light-custom .dropdown-toggle::after {
  vertical-align: middle !important;
  border-top-color: var(--navbar-text) !important;
  margin-left: 5px !important;
}

.navbar-light-custom .dropdown-toggle:hover::after {
  border-top-color: var(--navbar-hover) !important;
}

/* Content Area */
.content-wrapper {
  background-color: var(--bg-page);
  padding: 20px 0;
  min-height: calc(100vh - 200px);
}

.container-main {
  width: 56%;
  min-width: 800px;
  max-width: 1050px;
  margin: 0 auto;
  background-color: var(--bg-container);
  min-height: 600px;
  padding: 40px 20px;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.08);
  box-sizing: border-box;
}

/* Results Box */
.results-box {
  width: 580px;
  margin: 0 auto 50px auto;
  border: 1px solid rgba(16, 185, 129, 0.15);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.05);
  border-radius: 6px;
  overflow: hidden;
}

.results-header {
  background: var(--gradient-primary);
  color: #ffffff;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  padding: 10px 0;
}

.results-body {
  padding: 25px 15px;
  text-align: center;
}

.result-form {
  display: inline-block;
  text-align: center;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.form-row label {
  font-size: 13px;
  color: var(--text-main);
  margin-right: 8px;
  font-weight: bold;
}

.form-row input[type="text"] {
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 6px 10px;
  width: 220px;
  font-size: 13px;
  outline: none;
  background-color: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row input[type="text"]:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.form-submit {
  text-align: center;
}

.form-submit input[type="submit"] {
  background: var(--primary-color);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
}

.form-submit input[type="submit"]:hover {
  background: var(--primary-hover);
}

.form-submit input[type="submit"]:active {
  transform: translateY(1px);
}

.result-msg {
  margin-top: 15px;
  font-size: 14px;
  font-weight: bold;
}

/* Gallery and Sidebar Layout */
.container-main.container-gallery {
  width: 76%;
  max-width: 1200px;
}

.gallery-title-main {
  font-size: 24px;
  font-weight: bold;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 8px;
  margin-bottom: 20px;
  color: var(--text-main);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
  border-radius: 4px;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 16px rgba(16, 185, 129, 0.15);
}

/* Notice Board */
.notice-board-card {
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 25px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.03);
}

.notice-board-header {
  background: var(--gradient-primary);
  color: #ffffff;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  padding: 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.notice-board-body {
  padding: 15px;
  background-color: #ffffff;
}

.notice-board-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.notice-board-list li {
  padding: 8px 0;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 13px;
  display: flex;
  align-items: flex-start;
}

.notice-board-list li:last-child {
  border-bottom: none;
}

.notice-board-list li::before {
  content: "»";
  color: var(--primary-color);
  font-weight: bold;
  margin-right: 8px;
}

.notice-board-list li a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.15s;
}

.notice-board-list li a:hover {
  color: var(--primary-color);
}

/* Get In Touch */
.get-in-touch-card {
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 25px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.03);
}

.get-in-touch-header {
  background: var(--gradient-primary);
  color: #ffffff;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  padding: 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.get-in-touch-body {
  padding: 18px 15px;
  background-color: #f8fafc;
}

.get-in-touch-form .form-group {
  margin-bottom: 12px;
}

.get-in-touch-form input[type="text"],
.get-in-touch-form input[type="email"],
.get-in-touch-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 12px;
  outline: none;
  background-color: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.get-in-touch-form input[type="text"]:focus,
.get-in-touch-form input[type="email"]:focus,
.get-in-touch-form textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.get-in-touch-form textarea {
  height: 80px;
  resize: none;
}

.get-in-touch-form input[type="submit"] {
  background: var(--gradient-primary);
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 7px 25px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.2s;
}

.get-in-touch-form input[type="submit"]:hover {
  background: var(--gradient-hover);
}

/* Active Link State */
.navbar-light-custom .nav-link.active-link {
  color: var(--primary-color) !important;
}

@media (max-width: 900px) {
  .container-main.container-gallery {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Homepage Sections styling */
.container-main.container-home {
  width: 76%;
  max-width: 1200px;
}

.banner-img {
  height: 100%;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

.notice-bold-list li::before {
  color: #3b82f6 !important;
}

.notice-highlight-link {
  color: var(--text-main);
  font-weight: bold;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.15s;
}

.notice-highlight-link:hover {
  color: #3b82f6 !important;
}

.middle-section-row {
  background-color: #fef3c7; /* Cozy soft light warm yellow background matching logo theme */
  border-radius: 6px;
  padding: 20px 10px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border: 1px solid #fde68a;
}

.middle-card-item img.card-border {
  border: 3px solid #000000;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s;
}

.middle-card-item img.card-border:hover {
  transform: scale(1.03);
}

.submit-btn-premium {
  background: var(--gradient-primary);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 8px 0;
  width: 100%;
  font-size: 15px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: opacity 0.2s, transform 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.submit-btn-premium:hover {
  background: var(--gradient-hover);
}

.submit-btn-premium:active {
  transform: translateY(1px);
}

.thumbnails-container {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  background-color: #ffffff;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.15);
  overflow-x: auto;
}

.thumbnail-item {
  flex: 1;
  min-width: 80px;
}

.thumbnail-item img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  transition: transform 0.2s;
  cursor: pointer;
}

.thumbnail-item img:hover {
  transform: scale(1.06);
}
.gov-logos-clean {
  background-color: #ffffff;
  padding: 20px 0 0px;
  border-top: 1px solid #e2e8f0;
  /* border-radius: 12px; */
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02); */
}

.gov-logos-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 50px;
  padding: 20px 0;
  /* border-top: 1px solid rgba(0, 0, 0, 0.05); */
  flex-wrap: wrap;
}

.gov-logo-link img {
  height: 55px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s;
}

.gov-logo-link img:hover {
  transform: scale(1.08);
}

@media (max-width: 900px) {
  .container-main.container-home {
    width: 90%;
  }
}

/* Premium Modern Homepage Styling */
.banner-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 310px;
}
@media (max-width: 991px) {
  .banner-card {
    height: 250px;
  }
}
.banner-overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 75%, rgba(0, 0, 0, 0) 100%);
  color: #ffffff;
  padding: 25px 20px;
}
.banner-overlay-tag {
  background-color: var(--accent-color);
  color: #ffffff;
  font-size: 10px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.banner-overlay-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.banner-overlay-subtext {
  font-size: 13px;
  opacity: 0.9;
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.notice-board-card-modern {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
}

.notice-header-gradient {
  background: var(--gradient-primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  padding: 12px 15px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.notice-list-screenshot {
  list-style: none;
  padding: 0;
  margin: 0;
}

.notice-list-screenshot li {
  padding: 8px 0;
  border-bottom: 1px dashed #cbd5e1;
  font-size: 13px;
  display: flex;
  align-items: center;
}

.notice-list-screenshot li:last-child {
  border-bottom: none;
}

.notice-list-screenshot li::before {
  content: "»";
  color: #10b981; /* Green color for » */
  font-weight: bold;
  margin-right: 8px;
  font-size: 14px;
  line-height: 1;
}

.notice-list-screenshot li a {
  color: #334155;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
  line-height: 1.3;
}

.notice-list-screenshot li a:hover {
  color: #10b981;
}

.notice-header-modern {
  background-color: #0f766e; /* Teal Green */
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.5px;
}
.notice-body-modern {
  padding: 5px 15px;
}
.notice-list-modern {
  list-style: none;
  padding: 0;
  margin: 0;
}
.notice-list-modern li {
  padding: 15px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 12px;
  display: flex;
  align-items: flex-start;
}
.notice-list-modern li:last-child {
  border-bottom: none;
}
.notice-list-modern li i {
  color: #0f766e;
  font-size: 10px;
  margin-top: 3px;
  margin-right: 12px;
}
.notice-list-modern li a {
  color: #334155;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s;
  line-height: 1.4;
}
.notice-list-modern li a:hover {
  color: #0f766e;
}

.feature-block-mint {
  background-color: #e6f7f0; /* Soft mint green */
  padding: 35px 25px;
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.1);
  margin-bottom: 25px;
}

.feature-card-modern {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(16, 185, 129, 0.05);
}
.feature-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.1);
}
.feature-card-img-wrapper {
  height: 140px;
  overflow: hidden;
}
.feature-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.feature-card-modern:hover .feature-card-img-wrapper img {
  transform: scale(1.03);
}
.feature-card-body {
  padding: 18px;
}
.feature-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}
.feature-card-text {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}

.get-in-touch-card-modern {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
}
.get-in-touch-header-modern {
  background: var(--gradient-primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.5px;
}
.get-in-touch-body-modern {
  padding: 20px;
}
.get-in-touch-form-modern .form-group {
  margin-bottom: 12px;
}
.get-in-touch-form-modern input,
.get-in-touch-form-modern select,
.get-in-touch-form-modern textarea {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 12px;
  outline: none;
  background-color: #f8fafc;
  color: #334155;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.get-in-touch-form-modern input:focus,
.get-in-touch-form-modern select:focus,
.get-in-touch-form-modern textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
  background-color: #ffffff;
}
.get-in-touch-form-modern textarea {
  height: 90px;
  resize: none;
}
.submit-btn-modern {
  background: var(--gradient-primary);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 10px 0;
  width: 100%;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  transition: opacity 0.2s, transform 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.submit-btn-modern:hover {
  opacity: 0.95;
}
.submit-btn-modern:active {
  transform: translateY(1px);
}


/* Footer Bar Styling */
.footer-bar {
  background-color: var(--secondary-color); /* Deep Green #065f46 */
  color: #ffffff;
  padding: 25px 0;
  font-size: 13px;
  font-family: Arial, sans-serif;
  border-top: 2px solid var(--primary-color);
}

.footer-container {
  width: 76%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-left {
  color: rgba(255, 255, 255, 0.85);
}

.footer-right {
  color: rgba(255, 255, 255, 0.6);
}

.footer-right a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  margin: 0 4px;
  transition: color 0.15s;
}

.footer-right a:hover {
  color: var(--accent-color);
}

@media (max-width: 900px) {
  .footer-container {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* --- Responsive Media Queries --- */

@media (max-width: 900px) {
  /* Stack the header layout to prevent logo overlap */
  .header {
    flex-direction: column;
    padding: 20px 10px;
    align-items: center;
  }
  .header-logo {
    position: static;
    transform: none;
    margin-bottom: 15px;
  }
  .title-english {
    font-size: 20px;
  }
  .title-hindi {
    font-size: 18px;
  }
  .container-main {
    width: 90%;
    min-width: 0;
    padding: 30px 15px;
  }
}

@media (max-width: 768px) {
  /* News Bar adjustment for vertical layout */
  .news-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 8px;
    padding: 10px;
  }
  .news-title {
    margin-right: 0;
    margin-bottom: 3px;
  }
  .news-payment {
    margin-left: 0;
    margin-top: 3px;
  }
}

@media (max-width: 991px) {
  /* Navbar spacing and separator adjustment for mobile view */
  .navbar-light-custom .navbar-nav {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 10px 0;
    gap: 5px;
  }
  
  .navbar-light-custom .nav-link {
    border-right: none !important;
    padding: 8px 0 !important;
    display: block;
    width: 100%;
  }

  .navbar-light-custom .social-icons-item {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    border-right: none !important;
  }

  .navbar-light-custom .social-icons {
    padding-left: 0;
    width: 100%;
    justify-content: center;
    gap: 15px;
  }
}

@media (max-width: 600px) {
  .results-box {
    width: 100%;
    margin-bottom: 40px;
  }
}

@media (max-width: 576px) {
  .container-main {
    width: 100%;
    box-shadow: none;
    padding: 20px 10px;
  }
}

@media (max-width: 480px) {
  /* Header sizing for mobile screen */
  .title-english {
    font-size: 16px;
  }
  .title-hindi {
    font-size: 15px;
  }
  .subtitle-red {
    font-size: 12px;
  }
  .run-by-org {
    font-size: 11px;
  }
  .iso-cert {
    font-size: 10px;
  }

  /* Stack enrolment label and input */
  .form-row {
    flex-direction: column;
    gap: 8px;
  }
  .form-row label {
    margin-right: 0;
  }
  .form-row input[type="text"] {
    width: 100%;
    max-width: 260px;
  }
}

/* Vision & Mission Cards styling */
.vision-mission-card {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.vision-mission-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.08);
}

