body {
            background-color: #E6EDFF;
            font-family: 'Segoe UI', sans-serif;
        }

        label {
            font-size: 14px;
            text-transform: uppercase;
            font-weight: bold;
        }

        small {
            font-size: 12px;
        }

        h4,
        h5,
        .top-header p {
            font-weight: bold;
        }

        .form-container {
            background-color: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            margin: 40px auto 60px;
            max-width: 900px;
        }

        .top-header {
            padding: 6px 0;
        }

        .top-header img {
            height: 120px;
        }

        .top-header h4 {
            font-size: 1.9rem;
            margin-top: 6px;
        }

        .top-header p {
            font-size: 1.25rem;
            margin-top: 2px;
        }

        .form-control,
        .form-select {
            font-size: 14px;
        }

        .gap-below {
            margin-bottom: 20px;
        }



        .photo-box {
            height: 200px;
            background-color: #f0f0f0;
            overflow: hidden;
            position: relative;
        }

        .photo-box img {
            position: absolute;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }


        .custom-file-input {
            position: relative;
        }

        .custom-file-input input[type="file"] {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
        }

        .custom-file-label {
            display: block;
            margin-top: 4px;
            font-size: 13px;
            color: #555;
        }

        @media (max-width: 576px) {
    .top-header {
        padding: 2px 0;
    }

    .top-header img {
        height: 50px;
    }

    .top-header h4 {
        font-size: 1rem;
        margin-top: 2px;
    }

    .top-header p {
        font-size: 0.75rem;
        margin-top: 0;
    }

    .top-header .ms-3 {
        margin-left: 0.5rem !important;
    }
}

/* Make image container passport size and center-aligned on mobile */
@media (max-width: 576px) {
    .photo-box {
        width: 100px;
        height: 130px;
        margin: 0 auto;
    }

    #photoPreview {
        max-height: 100%;
        max-width: 100%;
        object-fit: cover;
    }
}

.header-bar {
            flex-direction: column; /* stack elements vertically */
            align-items: stretch;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 60px;  /* this gives you the bigger gaps on left and right */
            width: 100%;
            flex-wrap: wrap;
            gap: 20px;
        }



        .header-left {
            flex: 0 0 auto; 
        }

        .header-left img {
            height: 80px;
            position: relative;
            top: -5px;
        }

        .header-center {
            flex: 1;
            min-width: 220px;
        }

        .header-center h1 {
            font-size: 1.4rem;
            font-weight: bold;
            color: #1e1e2f;
        }

        .header-center p {
            font-size: 1.05rem;
            color: #4da6ff;
        }

        .header-taglines {
            flex: 0 0 auto;
            text-align: center;
            line-height: 1.4;
            margin-top: 5px;     /* ⬅ Reduces space above (towards org name block) */
            margin-right: 100px;    /* ⬅ Increases space between taglines and buttons */
        }


        .header-taglines span {
            display: block;
            font-size: 0.9rem;
            font-style: italic;
            font-weight: 500;
            color: #001a75;
        }

        @media (max-width: 576px) {
  /* Layout for logo + company name in row */
  .header-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    
    padding: 10px 15px;
    text-align: left;
  }

  .header-left {
    flex: 0 0 auto;
    margin-left: 0 !important;
  }

  
  .header-left img {
    max-height: 45px;
    width: auto;
    position: relative;
    top: 6px; /* Pulls logo downward (adjust value as needed) */
  }



  .header-center {
    flex: 1 1 0;
    min-width: 0;
  }

  .header-center h1 {
    font-size: 1rem;
    line-height: 1.2;
    margin-bottom: 4px;
  }

  .header-center p {
    font-size: 0.8rem;
    line-height: 1.2;
    margin: 0;
  }

  /* ⛔ Hide taglines and buttons on mobile */
  .header-taglines,
  .button-group {
    display: none !important;
  }
}
@media (max-width: 576px) {
  .mobile-line {
    display: block;
  }

  .company-name {
    font-size: 0.9rem;   /* reduced */
    line-height: 1.25;
    margin-bottom: 4px;
  }

  .company-subtext {
    font-size: 0.75rem;  /* reduced */
    line-height: 1.2;
    margin: 0;
  }

  /* Optional: tighten spacing between logo and text */
  .header-content {
    gap: 8px;
  }

  
}


        .header-left {
                margin-left: 100px; /* Add bigger gap before logo */
        }

        .button-group {
                margin-right: 100px; /* Add bigger gap after buttons */
        }
