/* ================= BASE ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, Arial, sans-serif;
}

body {
  background: #f7f9fc;
  color: #333;
}

/* ================= NAVBAR ================= */
.navbar {
  background: #116b98;
  color: #fff;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ===============================
   LOGO STYLING (CIRCULAR + CLEAN)
================================ */

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Circular logo */
.logo {
    width: 50px;              /* adjust size */
    height: 50px;
    border-radius: 50%;        /* makes it round */
    background-color: #ffffff; /* white background */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Logo image */
.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}


.navbar nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
}
nav{
margin-right: 18px;    
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Text block */
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

/* Website name */
.brand-name {
    font-size: 20px;
    font-weight: 700;
    color: mintcream;
}

/* Tagline */
.tagline {
    font-size: 15px;
    font-weight:900;
    font-family: "Georgia", serif;
    color: lightskyblue;
}
/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    
    .logo {
        width: 40px;
        height: 40px;
    }

    .brand-name {
        font-size: 16px;
    }

    .tagline {
        font-size: 11px;
    }
}

/* ================= HERO ================= */
.hero {
  background: linear-gradient(135deg, #ff9933, #138808);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
  opacity: 0.95;
}

/* ================= SECTIONS ================= */
.scheme-section {
  padding: 40px 30px;
}

.scheme-section h2 {
  margin-bottom: 20px;
  color: #1e3a8a;
}

/* ================= GRID ================= */
.scheme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* ================= CARD ================= */
.scheme-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.scheme-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.scheme-card p {
  font-size: 14px;
  margin-bottom: 15px;
  color: #555;
}

/* ================= BUTTON ================= */
.btn {
  align-self: flex-start;
  padding: 10px 16px;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
}

.btn:hover {
  background: #1e40af;
}

/* ================= FOOTER ================= */
.footer {
  background: #f1f5f9;
  padding: 20px;
  text-align: center;
  font-size: 13px;
  color: #555;
}

.empty-text {
  color: #777;
  font-size: 14px;
}
/* ================= SCHEME DETAIL PAGE ================= */

.scheme-detail {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.detail-header {
  margin-bottom: 30px;
}

.detail-header .category {
  display: inline-block;
  background: #e0e7ff;
  color: #1e3a8a;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 10px;
}

.detail-header h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.short-desc {
  color: #555;
  font-size: 16px;
}

.detail-section {
  margin-bottom: 30px;
}

.detail-section h2 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #1e3a8a;
}

.detail-section p {
  line-height: 1.7;
  color: #444;
}

/* ================= APPLY ================= */

.apply-section {
  background: #f0f4ff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}

.apply-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 14px 24px;
  background: #16a34a;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  border-radius: 8px;
}

.apply-btn:hover {
  background: #15803d;
}
/* ================= SEARCH ================= */

.search-form {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.search-form input,
.search-form select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  min-width: 200px;
}

.search-form button {
  padding: 10px 18px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.search-form button:hover {
  background: #1e40af;
}

.category-label {
  display: inline-block;
  font-size: 11px;
  background: #e5e7eb;
  color: #374151;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}
/* ================= TRUST UI ================= */

.scheme-card:hover {
  transform: translateY(-4px);
  transition: 0.2s ease;
}

.scheme-card {
  transition: 0.2s ease;
}

.navbar nav a:hover {
  text-decoration: underline;
}

/* Info badge */
.info-badge {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}
.launch-date {
  font-size: 13px;
  color: #555;
  margin: 6px 0;
}
#backToTop {
  position: fixed;
  bottom: 100px;
  right: 25px;
  z-index: 999;
  background-color: #3d4a55;
  color: #fff;
  border: none;
  padding: 12px 15px;
  font-size: 18px;
  border-radius: 50%;
  cursor: pointer;
  display: none; /* hidden by default */
}
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(135deg, #ff9933, #138808);
  z-index: 1000;
}

.hero a,
.hero a:visited,
.hero a:hover,
.hero a:active {
  color: #551a8b;
}
.scheme-scope {
  font-size: 13px;
  font-weight: 600;
  color: #0b5ed7;
  margin-bottom: 6px;
}
