:root {
  --primary-gradient: linear-gradient(135deg, #004e92, #000428);
  --accent-gradient: linear-gradient(135deg, #f57c00, #ef6c00);
  --cta-green: #25D366;
  --cta-blue: #0088cc;
  --cta-red: #FF0000;
  --background: #f7f9fc;
  --text-color: #222;
}

/* Reset */
* {
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Mukta', sans-serif;
  background: var(--background);
  color: var(--text-color);
  line-height: 1.6;
}

/* GENERAL TAGS */
a {
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* NAVIGATION */
.nav {
  background: var(--primary-gradient);
  color: #fff;
  padding: 12px 0;
  position: relative;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.logo img {
  max-height: 40px;
}

.logo h1 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: Arial, sans-serif;
}

.nav-link {
  position: relative;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 20px;
  transition: all 0.3s ease;
  z-index: 1;
}

.nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent-gradient);
  border-radius: 20px;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover::before {
  transform: scaleX(1);
}

.nav-link:hover {
  color: #fff;
  background-color: #f0f0f0;
  border-radius: 4px;
}

/* Dropdown Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background-color: #fff;
  color: #333;
  padding: 8px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.dropbtn:hover, 
.dropbtn:focus {
  background-color: #f0f0f0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 180px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 4px;
  z-index: 1000;
  padding: 5px 0;
}

.dropdown-content a {
  color: #333;
  padding: 10px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
  background-color: #e6e6e6;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:focus-within .dropdown-content {
  display: block;
}

/* Hamburger Menu & Responsive Navigation */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  z-index: 11;
}

.nav-toggle .bar {
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
  display: block;
}

/* HEADER SECTION */
.header {
  background: var(--primary-gradient);
  color: #fff;
  padding: 15px 20px;
  text-align: center;
}

.main-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.search-wrap {
  position: relative;
}

.search-wrap input {
  width: 100px;
  height: 36px;
  border: 2px solid #fff;
  border-radius: 20px;
  padding: 0 10px;
  background: #fff;
  color: #333;
  transition: width 0.3s ease;
}

.search-wrap input:focus {
  width: 220px;
  outline: none;
}

#suggestions {
  position: absolute;
  top: 42px;
  left: 0;
  width: 220px;
  background: #004e92;
  color: #fff;
  border: 1px solid #003366;
  border-radius: 4px;
  padding: 5px 0;
  display: none;
  z-index: 10;
}

#suggestions li {
  padding: 8px 12px;
  cursor: pointer;
}

#suggestions li:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* TABS */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-btn {
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  transform: translateY(-2px);
  background: var(--accent-gradient);
}

.tab-btn.active {
  background: var(--accent-gradient);
}

/* MARQUEE */
.marquee-bar {
  background: #fff;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-bar marquee {
  padding: 0.5rem 0;
  font-size: 1rem;
  color: red;
  font-weight: bold;
}

.marquee-bar .marquee-link {
  color: red;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.marquee-bar .marquee-link:hover {
  color: blue;
  text-decoration: underline;
}

/* BANNER IMAGE */
.banner-img {
  display: block;
  margin: 0 auto 12px auto;
  width: 100%;
  max-width: 480px;
  height: auto;
  aspect-ratio: 12 / 3;
  border-radius: 9px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  object-fit: contain;
}

/* MAIN TWO COLUMN LAYOUT */
.main-two-column-container {
  display: flex;
  gap: 30px;
  margin: 40px 0 30px 0;
  align-items: flex-start;
}

.left-main-content {
  flex: 0 0 80%;
  max-width: 80%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  padding: 32px 24px;
}

.right-latest-updates {
  flex: 0 0 20%;
  max-width: 20%;
  background: linear-gradient(120deg, #e3f2fd 55%, #fdf6e3 100%);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,78,146,0.08);
  padding: 30px 17px 22px 17px;
  position: relative;
  margin-bottom: 30px;
  min-width: 220px;
  max-width: 350px;
  border: 1px solid #dde7f3;
  transition: box-shadow 0.3s;
}

.right-latest-updates:hover {
  box-shadow: 0 14px 42px rgba(0,78,146,0.13);
}

.latest-updates-heading {
  color: #0054a9;
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 2px solid #ffa726;
  padding-bottom: 7px;
  letter-spacing: 0.03em;
  background: linear-gradient(90deg, #fffbe7 70%, #fbe9e7 100%);
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(44,105,176,0.06);
  text-align: center;
}

/* JOB SECTION HEADING */
.jobs-section-heading {
  background: linear-gradient(90deg, #f5f6fa 60%, #e0edff 100%);
  color: #004e92;
  padding: 12px 24px;
  border-radius: 8px;
  margin-bottom: 26px;
  font-size: 1.15em;
  display: inline-block;
  box-shadow: 0 2px 5px rgba(0, 78, 146, 0.05);
}

/* ENTRY ROWS: Jobs, Results, Admit Cards */
.job-entry, 
.result-entry, 
.admitcard-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #ececec;
  font-size: 1rem;
  background: transparent;
  transition: background 0.15s;
}

.job-entry:last-child,
.result-entry:last-child,
.admitcard-entry:last-child { 
  border-bottom: none; 
}

.job-entry a,
.result-entry a,
.admitcard-entry a {
  color: #004e92;
  font-weight: 600;
  transition: color 0.2s;
}

.job-entry a:hover,
.result-entry a:hover,
.admitcard-entry a:hover {
  color: #ef6c00;
  text-decoration: underline;
}

.last-date,
.published-date,
.released-date {
  color: #666;
  font-size: 0.97em;
  margin-left: 20px;
}

.closing-soon,
.just-published {
  color: #d7263d;
  font-weight: 700;
  background: #fff5f5;
  margin-left: 7px;
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 0.75em;
  display: inline-block;
}

.deadline {
  color: #d7263d;
  font-weight: 700;
}

.highlight-close,
.highlight-new {
  background: linear-gradient(90deg, #ffe7e7 0%, #fff 100%);
  border-left: 4px solid #d7263d;
}

/* SIDEBAR UPDATE ENTRIES */
#latest-updates-list,
.right-latest-updates ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#latest-updates-list li,
.right-latest-updates .update-entry {
  background: #f6fbff;
  margin-bottom: 12px;
  border-radius: 8px;
  box-shadow: 0 1.5px 8px rgba(0,78,146,0.07);
  padding: 12px 14px 8px 14px;
  transition: background 0.16s;
  font-size: 0.97rem;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  position: relative;
}

#latest-updates-list li:last-child,
.right-latest-updates .update-entry:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

#latest-updates-list a,
.right-latest-updates .update-entry a {
  color: #0066cc !important;
  font-weight: bold;
  text-decoration: underline !important;
  transition: color 0.19s;
  word-break: break-word;
  display: inline-block;
  font-size: 0.99em;
}

#latest-updates-list a:hover,
.right-latest-updates .update-entry a:hover {
  color: #003366 !important;
  text-decoration: underline !important;
}

#latest-updates-list span,
.right-latest-updates .update-entry span {
  color: #888;
  font-size: 0.84em;
  margin-left: auto;
}

/* MAIN JOB CARDS (Homepage grid layout) */
.seo-section {
  background: #fff;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin: 40px 0;
}

.seo-section h2 {
  margin-bottom: 25px;
  font-size: 1.3rem;
  color: #004e92;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.job-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.highlight {
  border: 2px solid #ef6c00;
}

.job-card-content {
  padding: 20px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.job-card h3 {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #004e92;
}

.job-card-content h3 a {
  color: inherit;
  text-decoration: underline;
}

.job-card p {
  font-size: 0.9rem;
  color: #555;
}

.countdown {
  color: red;
  font-weight: 600;
  font-size: 0.75rem;
  margin-left: 4px;
}

.card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px 20px 20px;
  margin-top: auto;
}

/* CTA BUTTONS */
.cta-bar {
  text-align: center;
  margin-top: 10px;
  background: #f7f7f7;
  padding: 16px 0;
}

.cta-buttons {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.cta-buttons-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 15px;
  font-weight: 600;
  font-size: 0.75rem;
  transition: all 0.3s ease;
  color: #fff !important;
  white-space: nowrap;
  box-shadow: 0 0 0 transparent;
}

.btn:hover {
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.btn img {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.btn.view-btn {
  background: var(--primary-gradient);
}

.btn.view-btn:hover {
  background: var(--accent-gradient);
}

.share-btn {
  background: var(--cta-green);
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  transition: background 0.3s ease;
}

.share-btn:hover {
  background: #128C7E;
}

.share-btn img {
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0;
}

/* CTA Button Styles */
.cta-bar .btn {
  flex: 0 1 auto;
  min-width: 120px;
  max-width: 100%;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 22px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
  margin-bottom: 0;
  text-align: center;
}

.cta-bar .btn:not(:last-child) {
  margin-right: 6px;
}

.cta-bar .btn img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

/* Social Media Button Styles */
.insta-btn {
  background: radial-gradient(circle at 40% 120%, #fdf497 0%, #fd5949 60%, #d6249f 85%, #285AEB 100%);
  color: #fff !important;
}

.insta-btn:hover {
  background: linear-gradient(135deg, #d6249f 35%, #285AEB 70%);
  box-shadow: 0 0 8px #d6249f2a;
}

.facebook-btn {
  background: #1877f2;
  color: #fff !important;
}

.facebook-btn:hover {
  background: linear-gradient(135deg, #0a428a 65%, #1877f2 100%);
  box-shadow: 0 0 8px #1877f255;
}

.youtube-btn {
  background: #FF0000;
  color: #fff !important;
}

.youtube-btn:hover {
  background: linear-gradient(135deg, #cc0000 60%, #FF0000 100%);
  box-shadow: 0 0 8px #FF00004d;
}

.whatsapp-btn {
  background: var(--cta-green);
  color: #fff !important;
}

.whatsapp-btn:hover {
  background: #128C7E;
  box-shadow: 0 0 8px #25D36633;
}

.telegram-btn {
  background: var(--cta-blue);
  color: #fff !important;
}

.telegram-btn:hover {
  background: linear-gradient(135deg, #005c8e 60%, #0088cc 100%);
  box-shadow: 0 0 8px #0088cc33;
}

/* ABOUT US AND FAQ SECTIONS */
.about-section,
.faq-section {
  background: #fffefa;
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  border-radius: 14px;
  padding: 36px 22px 32px 22px;
  margin: 50px auto 50px auto;
  max-width: 950px;
  width: 100%;
}

.about-section h2,
.faq-section h2 {
  color: #004e92;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
  border-bottom: 2px solid #ef6c00;
  padding-bottom: 8px;
  letter-spacing: 0.01em;
}

.about-section p,
.faq-section p,
.faq-section ul,
.faq-section li {
  font-size: 1rem;
  color: #2a2a2a;
  line-height: 1.6;
  margin: 0 0 1em 0;
}

.about-section ul,
.faq-section ul {
  padding-left: 26px;
  margin-bottom: 1em;
}

.about-section ul li,
.faq-section ul li {
  list-style-type: disc;
}

.faq-list {
  margin: 0;
  padding: 0;
}

.faq-item {
  margin-bottom: 28px;
  border-bottom: 1px solid #e9eaef;
  padding-bottom: 18px;
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-item h3 {
  font-size: 1.22rem;
  color: #ef6c00;
  margin: 0 0 7px 0;
  font-weight: 700;
}

.faq-item p,
.faq-item ul {
  margin-bottom: 0.5em;
}

/* QUICK LINKS */
.quick-links {
  background: #f2f2f2;
  padding: 35px 20px;
  font-size: 0.85rem;
}

.quick-links-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.quick-links-col {
  flex: 1;
  min-width: 220px;
}

.quick-links-col h2 {
  margin-bottom: 12px;
  font-size: 1.05rem;
  color: #004e92;
}

.quick-links-col ul li {
  margin-bottom: 6px;
}

.quick-links-col a {
  color: #333;
}

.quick-links-col a:hover {
  text-decoration: underline;
}

.video-frame {
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
}

.quick-links-ctas {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.horizontal-ctas {
  flex-direction: row;
  flex-wrap: wrap;
}

/* FOOTER */
.footer {
  background: var(--primary-gradient);
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 950px) {
  .banner-img {
    max-width: 95vw;
  }
  
  .cta-bar .btn {
    font-size: 0.93rem;
    padding: 7px 12px;
    min-width: 100px;
  }

  .main-two-column-container {
    flex-direction: column;
    gap: 0;
  }
  
  .left-main-content,
  .right-latest-updates {
    max-width: 100%;
    flex: 1 0 100%;
    margin-bottom: 22px;
  }
  
  .right-latest-updates {
    padding-top: 0;
    max-width: 100%;
    width: 100%;
    margin-top: 30px;
    padding: 24px 10px 15px 10px;
  }
  
  #latest-updates-list li,
  .right-latest-updates .update-entry {
    padding: 11px 10px 8px 10px;
    font-size: 0.97rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: var(--primary-gradient);
    padding: 15px;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 999;
    gap: 0;
    text-align: left;
    box-shadow: 0px 4px 20px rgba(0,0,0,.1);
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-container {
    position: relative;
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .cta-buttons {
    justify-content: center;
  }
  
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .category-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .search-wrap input {
    width: 100% !important;
  }
  
  #suggestions {
    width: 100%;
  }
  
  .quick-links-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .video-frame iframe {
    width: 100%;
  }
  
  .quick-links-ctas {
    justify-content: center;
  }
}

@media (max-width: 650px) {
  .about-section,
  .faq-section {
    padding: 18px 8px 20px 8px;
    border-radius: 8px;
  }
  
  .about-section h2,
  .faq-section h2 {
    font-size: 1.1rem;
    padding-bottom: 6px;
  }
  
  .faq-item h3 { 
    font-size: 1rem; 
  }
}

@media (max-width: 600px) {
  .cta-buttons-footer {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .cta-bar .btn {
    font-size: 0.89rem;
    min-width: 87px;
    padding: 7px 6px;
    border-radius: 16px;
  }
  
  .cta-bar .btn img {
    width: 15px;
    height: 15px;
  }
  
  .banner-img {
    max-width: 98vw;
    margin-bottom: 10px;
  }
  
  .cta-buttons {
    flex-direction: row !important;
    gap: 6px;
    flex-wrap: nowrap !important;
  }
  
  .cta-buttons .btn {
    min-width: 0;
    flex: 1;
  }
  
  .right-latest-updates { 
    border-radius: 8px; 
  }
  
  .latest-updates-heading { 
    font-size: 1.01rem; 
    padding-bottom: 6px; 
  }

  .cta-bar .btn {
    font-size: 0.87rem;
    padding: 8px 12px;
  }
}

@media (max-width: 480px) {
  .logo img {
    max-height: 32px;
  }
  
  .logo h1 {
    font-size: 1rem;
  }
  
  .btn img {
    width: 12px;
    height: 12px;
  }
}
