
    :root {
      --primary: #007bff;
      --secondary: #ffcc00;
      --text: #333;
      --bg: #f8f9fa;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--bg);
      color: var(--text);
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    header {
      background-color: var(--primary);
    } 

    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
      max-width: 1200px;
      margin: auto;
    }

    .nav-logo img {
      height: 40px;
    }

    .nav-menu {
      display: flex;
      gap: 1.5rem;
      list-style: none;
    }

    .nav-link {
      color: white;
      font-weight: 500;
    }

    .nav-link:hover,
    .nav-link.active {
      color: var(--secondary);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      cursor: pointer;
      gap: 5px;
    }

    .hamburger .bar {
      width: 25px;
      height: 3px;
      background-color: white;
    }

    @media (max-width: 768px) {
      .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 1rem;
        background: var(--primary);
        padding: 1rem;
        border-radius: 5px;
        z-index: 999;
      }

      .nav-menu.active {
        display: flex;
      }

      .hamburger {
        display: flex;
      }
    }

    .page-header {
      background: var(--primary);
      color: white;
      text-align: center;
      padding: 0.5rem 1.5rem;
    }

    .page-header h1 {
      font-size: 2rem;
      margin-bottom: 0.5rem;
    }

    .page-subtitle {
      font-weight: 300;
    }

    .container {
      max-width: 1200px;
      margin: auto;
      padding: 0 1.5rem;
    }

    .about-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      align-items: center;
      margin-top: 2rem;
    }

    .about-text,
    .about-image {
      flex: 1 1 500px;
    }

    .about-image img {
      width: 100%;
      height: auto;
      max-height: 400px;
      object-fit: cover;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .mission-vision {
      margin-top: 2rem;
    }

    .mission,
    .vision {
      margin-bottom: 1.5rem;
    }

    .values-section,
    .team-section,
    .awards-section {
      margin-top: 4rem;
      margin-bottom: 4rem;
    }

    .section-title {
      text-align: center;
      font-size: 1.75rem;
      margin-bottom: 2rem;
      font-weight: 600;
      color: var(--primary);
    }

    .values-grid,
    .team-grid,
    .awards-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 1.5rem;
      justify-content: center;
    }

    .value-card,
    .team-member,
    .award-card {
      flex: 1 1 250px;
      background: white;
      padding: 1.5rem;
      border-radius: 10px;
      text-align: center;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }

    .value-icon,
    .award-icon {
      font-size: 2rem;
      color: var(--primary);
      margin-bottom: 0.5rem;
    }

    .team-member img {
      width: 100%;
      height: 250px;
      object-fit: cover;
      border-radius: 10px;
      margin-bottom: 1rem;
    }

    .position {
      font-size: 0.9rem;
      color: gray;
    } 

    .footer {
      background-color: var(--primary);
      color: white;
      padding: 2rem 1.5rem;
      margin-top: 3rem;
    }

    .footer-content {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      justify-content: space-between;
    }

    .footer-section h3 {
      margin-bottom: 1rem;
      color: var(--secondary);
    }

    .footer-section ul,
    .footer-section p {
      font-size: 0.9rem;
      color: #eee;
    }

    .footer-bottom {
      text-align: center;
      margin-top: 2rem;
      border-top: 1px solid rgba(255, 255, 255, 0.2);
      padding-top: 1rem;
      font-size: 0.85rem;
    }

    .scroll-top-btn {
      position: fixed;
      bottom: 1.5rem;
      right: 1.5rem;
      background-color: var(--primary);
      color: white;
      padding: 0.75rem;
      border-radius: 50%;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
      border: none;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    .scroll-top-btn:hover {
      background-color: #0056b3;
    }
  
    /* ========= Modal form styling ========= */

    /* Make form scrollable if it gets too tall */
    #loanForm {
      max-height: 70vh;           /* 70% of viewport height */
      overflow-y: auto;
    }

    /* Base input/select styles */
    #loanForm .input {
      width: 100%;
      padding: 0.6rem 0.75rem;
      border-radius: 0.5rem;
      border: 1px solid #d1d5db;  /* gray-300 */
      font-size: 0.95rem;
      outline: none;
      transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
      background-color: #fff;
      box-sizing: border-box;
    }

    /* Focus state */
    #loanForm .input:focus {
      border-color: #2563eb;      /* blue-600 */
      box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
    }

    /* Error message text */
    #loanForm .error {
      display: block;
      margin-top: 0.25rem;
      font-size: 0.75rem;
      color: #dc2626;             /* red-600 */
    }

    /* Optional: error border when you add a class like .input-error via JS */
    #loanForm .input.input-error {
      border-color: #dc2626;
      box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.4);
    }

    /* Make the grid breathe a bit more on small screens */
    @media (max-width: 640px) {
      #loanForm {
        max-height: 75vh;
      }
    }

    /* ========= Modal animation ========= */
    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: scale(0.96);
      }
      to {
        opacity: 1;
        transform: scale(1);
      }
    }

    .animate-fadeIn {
      animation: fadeIn 0.2s ease-out;
    }
